lib/Model/InlineObject5.php
/**
     * Show all the invalid properties with reasons.
     *
     * @return array invalid properties with reasons
     */
Show all the invalid properties with reasons.
@return array invalid properties with reasons
Show all the invalid properties with reasons . @return array invalid properties with reasons
public function listInvalidProperties()
    {
        $invalidProperties = [];
        if (!is_null($this->container['emails']) && (count($this->container['emails']) < 0)) {
            $invalidProperties[] = "invalid value for 'emails', number of items must be greater than or equal to 0.";
        }
        if (!is_null($this->container['phone_numbers']) && (count($this->container['phone_numbers']) < 0)) {
            $invalidProperties[] = "invalid value for 'phone_numbers', number of items must be greater than or equal to 0.";
        }
        if (!is_null($this->container['push_tokens']) && (count($this->container['push_tokens']) < 0)) {
            $invalidProperties[] = "invalid value for 'push_tokens', number of items must be greater than or equal to 0.";
        }
        return $invalidProperties;
    }
public function listInvalidProperties ( ) { $ invalidProperties = [ ] ; if ( ! is_null ( $ this -> container [ 'emails' ] ) && ( count ( $ this -> container [ 'emails' ] ) < 0 ) ) { $ invalidProperties [ ] = " invalid value for 'emails', number of items must be greater than or equal to 0. " ; } if ( ! is_null ( $ this -> container [ 'phone_numbers' ] ) && ( count ( $ this -> container [ 'phone_numbers' ] ) < 0 ) ) { $ invalidProperties [ ] = " invalid value for 'phone_numbers', number of items must be greater than or equal to 0. " ; } if ( ! is_null ( $ this -> container [ 'push_tokens' ] ) && ( count ( $ this -> container [ 'push_tokens' ] ) < 0 ) ) { $ invalidProperties [ ] = " invalid value for 'push_tokens', number of items must be greater than or equal to 0. " ; } return $ invalidProperties ; }
Show all the invalid properties with reasons.
Show all the invalid properties with reasons .