private function validateRequiredProperties()
    {
        if ($this->base_url == null) {
            throw new \Exception('The base_url property was not set.');
        }

        if (is_numeric($this->total_records)) {
            $this->total_records = intval($this->total_records);
        } else {
            throw new \Exception('The total_records property was not set.');
        }

        if (!is_numeric($this->page_number_value)) {
            throw new \Exception('The page_number_value property was not set.');
        }
    }
private function validateRequiredProperties()
    {
        if ($this->base_url == null) {
            throw new \Exception('The base_url property was not set.');
        }

        if (is_numeric($this->total_records)) {
            $this->total_records = intval($this->total_records);
        } else {
            throw new \Exception('The total_records property was not set.');
        }

        if (!is_numeric($this->page_number_value)) {
            throw new \Exception('The page_number_value property was not set.');
        }
    }
private function validateRequiredProperties ( ) { if ( $ this -> base_url == null ) { throw new \ Exception ( 'The base_url property was not set.' ) ; } if ( is_numeric ( $ this -> total_records ) ) { $ this -> total_records = intval ( $ this -> total_records ) ; } else { throw new \ Exception ( 'The total_records property was not set.' ) ; } if ( ! is_numeric ( $ this -> page_number_value ) ) { throw new \ Exception ( 'The page_number_value property was not set.' ) ; } }
Validate required properties values.

@throws \Exception Throw the errors on failure such as some required property is missing.
Validate required properties values .