diff --git a/composer.json b/composer.json index f98961c..4112937 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "quantimodo/quantimodo-sdk-php", - "version": "5.10.111410", + "version": "5.10.111411", "description": "", "keywords": [ "swagger", diff --git a/docs/Model/Correlation.md b/docs/Model/Correlation.md index 0987391..517df61 100644 --- a/docs/Model/Correlation.md +++ b/docs/Model/Correlation.md @@ -3,17 +3,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**average_daily_high_cause** | **double** | Ex: 4.19 | -**average_daily_low_cause** | **double** | Ex: 1.97 | -**average_effect** | **double** | Ex: 3.0791054117396 | -**average_effect_following_high_cause** | **double** | Ex: 3.55 | -**average_effect_following_low_cause** | **double** | Ex: 2.65 | -**average_forward_pearson_correlation_over_onset_delays** | **double** | Ex: 0.396 | -**average_reverse_pearson_correlation_over_onset_delays** | **double** | Ex: 0.453667 | -**average_vote** | **float** | Ex: 0.9855 | -**cause_changes** | **int** | Ex: 164 | +**average_daily_high_cause** | **double** | Ex: 4.19 | [optional] +**average_daily_low_cause** | **double** | Ex: 1.97 | [optional] +**average_effect** | **double** | Ex: 3.0791054117396 | [optional] +**average_effect_following_high_cause** | **double** | Ex: 3.55 | [optional] +**average_effect_following_low_cause** | **double** | Ex: 2.65 | [optional] +**average_forward_pearson_correlation_over_onset_delays** | **double** | Ex: 0.396 | [optional] +**average_reverse_pearson_correlation_over_onset_delays** | **double** | Ex: 0.453667 | [optional] +**average_vote** | **float** | Ex: 0.9855 | [optional] +**cause_changes** | **int** | Ex: 164 | [optional] **cause_data_source** | [**\QuantiModo\Client\Model\DataSource**](DataSource.md) | | [optional] -**cause_user_variable_share_user_measurements** | **int** | Ex: 1 | +**cause_user_variable_share_user_measurements** | **int** | Ex: 1 | [optional] **cause_variable_category_id** | **int** | Ex: 6 | [optional] **cause_variable_category_name** | **string** | Ex: Sleep | [optional] **cause_variable_combination_operation** | **string** | Ex: MEAN | [optional] @@ -21,22 +21,22 @@ Name | Type | Description | Notes **cause_variable_id** | **int** | Ex: 1448 | [optional] **cause_variable_most_common_connector_id** | **int** | Ex: 6 | [optional] **cause_variable_name** | **string** | Ex: Sleep Quality | -**confidence_interval** | **double** | Ex: 0.14344467795996 | -**confidence_level** | **string** | Ex: high | -**correlation_coefficient** | **double** | Ex: 0.538 | +**confidence_interval** | **double** | Ex: 0.14344467795996 | [optional] +**confidence_level** | **string** | Ex: high | [optional] +**correlation_coefficient** | **double** | Ex: 0.538 | [optional] **correlation_is_contradictory_to_optimal_values** | **bool** | Ex: false | [optional] -**created_at** | **string** | Ex: 2016-12-28 20:47:30 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | -**critical_t_value** | **double** | Calculated Statistic: Ex: 1.646 | -**direction** | **string** | Ex: higher | -**duration_of_action** | **int** | User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds | -**duration_of_action_in_hours** | **float** | User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Hours | +**created_at** | **string** | Ex: 2016-12-28 20:47:30 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | [optional] +**critical_t_value** | **double** | Calculated Statistic: Ex: 1.646 | [optional] +**direction** | **string** | Ex: higher | [optional] +**duration_of_action** | **int** | User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds | [optional] +**duration_of_action_in_hours** | **float** | User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Hours | [optional] **degrees_of_freedom** | **int** | Ex: 200 | [optional] **effect_number_of_processed_daily_measurements** | **int** | Ex: 145 | [optional] **error** | **string** | Ex: optimalPearsonProduct is not defined | [optional] -**effect_changes** | **int** | Ex: 193 | +**effect_changes** | **int** | Ex: 193 | [optional] **effect_data_source** | [**\QuantiModo\Client\Model\DataSource**](DataSource.md) | | [optional] -**effect_size** | **string** | Ex: moderately positive | -**effect_unit** | **string** | Ex: /5 | +**effect_size** | **string** | Ex: moderately positive | [optional] +**effect_unit** | **string** | Ex: /5 | [optional] **effect_user_variable_share_user_measurements** | **int** | Ex: 1 | [optional] **effect_variable_category_id** | **int** | Ex: 1 | [optional] **effect_variable_category_name** | **string** | Ex: Emotions | [optional] @@ -48,55 +48,56 @@ Name | Type | Description | Notes **effect_variable_id** | **int** | Ex: 1398 | [optional] **effect_variable_most_common_connector_id** | **int** | Ex: 10 | [optional] **effect_variable_name** | **string** | Ex: Overall Mood | -**experiment_end_time** | **string** | Ex: 2014-07-30 12:50:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | -**experiment_start_time** | **string** | Ex: 2012-05-06 21:15:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | -**forward_spearman_correlation_coefficient** | **double** | Ex: 0.528359 | -**number_of_pairs** | **int** | Ex: 298 | -**onset_delay** | **int** | Ex: 0 | -**onset_delay_in_hours** | **float** | Ex: 0 | -**onset_delay_with_strongest_pearson_correlation** | **int** | Ex: -86400 | -**onset_delay_with_strongest_pearson_correlation_in_hours** | **float** | Ex: -24 | -**optimal_pearson_product** | **double** | Ex: 0.68582816186982 | -**outcome_filling_value** | **int** | User-Defined Variable Setting: Ex: -1. Unit: User-specified or common. | +**experiment_end_time** | **string** | Ex: 2014-07-30 12:50:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | [optional] +**experiment_start_time** | **string** | Ex: 2012-05-06 21:15:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | [optional] +**forward_spearman_correlation_coefficient** | **double** | Ex: 0.528359 | [optional] +**number_of_pairs** | **int** | Ex: 298 | [optional] +**onset_delay** | **int** | Ex: 0 | [optional] +**onset_delay_in_hours** | **float** | Ex: 0 | [optional] +**onset_delay_with_strongest_pearson_correlation** | **int** | Ex: -86400 | [optional] +**onset_delay_with_strongest_pearson_correlation_in_hours** | **float** | Ex: -24 | [optional] +**optimal_pearson_product** | **double** | Ex: 0.68582816186982 | [optional] +**outcome_filling_value** | **int** | User-Defined Variable Setting: Ex: -1. Unit: User-specified or common. | [optional] **outcome_maximum_allowed_value** | **double** | User-Defined Variable Setting: Ex: 23. Unit: User-specified or common. | [optional] **outcome_minimum_allowed_value** | **double** | User-Defined Variable Setting: Ex: 0.1. Unit: User-specified or common. | [optional] -**pearson_correlation_with_no_onset_delay** | **double** | Ex: 0.477 | -**predictive_pearson_correlation** | **double** | Ex: 0.538 | -**predictive_pearson_correlation_coefficient** | **double** | Ex: 0.538 | -**predictor_data_sources** | **string** | Ex: RescueTime | -**predictor_filling_value** | **int** | Ex: -1. Unit: User-specified or common. | -**predictor_maximum_allowed_value** | **double** | Ex: 200. Unit: User-specified or common. | -**predictor_minimum_allowed_value** | **double** | Ex: 30. Unit: User-specified or common. | -**predicts_high_effect_change** | **int** | Ex: 17. Unit: User-specified or common. | -**predicts_low_effect_change** | **int** | Ex: -11. Unit: User-specified or common. | +**pearson_correlation_with_no_onset_delay** | **double** | Ex: 0.477 | [optional] +**predictive_pearson_correlation** | **double** | Ex: 0.538 | [optional] +**predictive_pearson_correlation_coefficient** | **double** | Ex: 0.538 | [optional] +**predictor_data_sources** | **string** | Ex: RescueTime | [optional] +**predictor_filling_value** | **int** | Ex: -1. Unit: User-specified or common. | [optional] +**predictor_maximum_allowed_value** | **double** | Ex: 200. Unit: User-specified or common. | [optional] +**predictor_minimum_allowed_value** | **double** | Ex: 30. Unit: User-specified or common. | [optional] +**predicts_high_effect_change** | **int** | Ex: 17. Unit: User-specified or common. | [optional] +**predicts_low_effect_change** | **int** | Ex: -11. Unit: User-specified or common. | [optional] **p_value** | **double** | Ex: 0.39628900511586 | [optional] -**qm_score** | **double** | Ex: 0.528 | -**reverse_pearson_correlation_coefficient** | **double** | Ex: 0.01377184270977 | -**share_user_measurements** | **bool** | Would you like to make this study publicly visible? | +**qm_score** | **double** | Ex: 0.528 | [optional] +**reverse_pearson_correlation_coefficient** | **double** | Ex: 0.01377184270977 | [optional] +**share_user_measurements** | **bool** | Would you like to make this study publicly visible? | [optional] **sharing_description** | **string** | Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood | [optional] **sharing_title** | **string** | Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood | [optional] -**significant_difference** | **bool** | Ex: 1 | -**statistical_significance** | **double** | Ex: 0.9813 | -**strength_level** | **string** | Ex: moderate | -**strongest_pearson_correlation_coefficient** | **double** | Ex: 0.613 | +**significant_difference** | **bool** | Ex: 1 | [optional] +**statistical_significance** | **double** | Ex: 0.9813 | [optional] +**strength_level** | **string** | Ex: moderate | [optional] +**strongest_pearson_correlation_coefficient** | **double** | Ex: 0.613 | [optional] **study_html** | [**\QuantiModo\Client\Model\StudyHtml**](StudyHtml.md) | | [optional] **study_images** | [**\QuantiModo\Client\Model\StudyImages**](StudyImages.md) | | [optional] **study_links** | [**\QuantiModo\Client\Model\StudyLinks**](StudyLinks.md) | | [optional] **study_text** | [**\QuantiModo\Client\Model\StudyText**](StudyText.md) | | [optional] -**t_value** | **double** | Ex: 9.6986079652717 | -**updated_at** | **string** | Ex: 2017-05-06 15:40:38 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | -**user_id** | **int** | Ex: 230 | -**user_vote** | **int** | Ex: 1 | -**value_predicting_high_outcome** | **double** | Ex: 4.14 | -**value_predicting_low_outcome** | **double** | Ex: 3.03 | -**outcome_data_sources** | **string** | original name of the cause. | [optional] +**t_value** | **double** | Ex: 9.6986079652717 | [optional] +**updated_at** | **string** | Ex: 2017-05-06 15:40:38 UTC ISO 8601 YYYY-MM-DDThh:mm:ss | [optional] +**user_id** | **int** | Ex: 230 | [optional] +**user_vote** | **int** | Ex: 1 | [optional] +**value_predicting_high_outcome** | **double** | Ex: 4.14 | [optional] +**value_predicting_low_outcome** | **double** | Ex: 3.03 | [optional] +**outcome_data_sources** | **string** | Sources used to collect data for the outcome variable | [optional] **principal_investigator** | **string** | Mike Sinn | [optional] **reverse_correlation** | **float** | Correlation when cause and effect are reversed. For any causal relationship, the forward correlation should exceed the reverse correlation. | [optional] -**average_pearson_correlation_coefficient_over_onset_delays** | **string** | Ex: | [optional] +**average_pearson_correlation_coefficient_over_onset_delays** | **float** | Ex: | [optional] **cause_number_of_raw_measurements** | **int** | Ex: 14764 | [optional] -**correlations_over_durations_of_action** | **string** | Ex: | [optional] -**correlations_over_durations_of_action_chart_config** | **string** | Ex: | [optional] -**correlations_over_onset_delays_chart_config** | **string** | Ex: | [optional] +**correlations_over_durations_of_action** | [**null[]**](.md) | Correlations calculated with various duration of action hyper-parameters | [optional] +**correlations_over_onset_delays** | [**null[]**](.md) | Correlations calculated with various onset delay hyper-parameters | [optional] +**correlations_over_durations_of_action_chart_config** | **object** | Highchart config illustrating correlations calculated with various duration of action hyper-parameters | [optional] +**correlations_over_onset_delays_chart_config** | **object** | Highchart config illustrating correlations calculated with various onset delay hyper-parameters | [optional] **number_of_users** | **float** | Ex: 1 | [optional] **raw_cause_measurement_significance** | **double** | Ex: 1 | [optional] **raw_effect_measurement_significance** | **double** | Ex: 1 | [optional] diff --git a/lib/Model/Correlation.php b/lib/Model/Correlation.php index 02470cd..e4249dd 100644 --- a/lib/Model/Correlation.php +++ b/lib/Model/Correlation.php @@ -146,11 +146,12 @@ class Correlation implements ModelInterface, ArrayAccess 'outcome_data_sources' => 'string', 'principal_investigator' => 'string', 'reverse_correlation' => 'float', - 'average_pearson_correlation_coefficient_over_onset_delays' => 'string', + 'average_pearson_correlation_coefficient_over_onset_delays' => 'float', 'cause_number_of_raw_measurements' => 'int', - 'correlations_over_durations_of_action' => 'string', - 'correlations_over_durations_of_action_chart_config' => 'string', - 'correlations_over_onset_delays_chart_config' => 'string', + 'correlations_over_durations_of_action' => 'null[]', + 'correlations_over_onset_delays' => 'null[]', + 'correlations_over_durations_of_action_chart_config' => 'object', + 'correlations_over_onset_delays_chart_config' => 'object', 'number_of_users' => 'float', 'raw_cause_measurement_significance' => 'double', 'raw_effect_measurement_significance' => 'double', @@ -257,9 +258,10 @@ class Correlation implements ModelInterface, ArrayAccess 'outcome_data_sources' => null, 'principal_investigator' => null, 'reverse_correlation' => null, - 'average_pearson_correlation_coefficient_over_onset_delays' => null, + 'average_pearson_correlation_coefficient_over_onset_delays' => 'float', 'cause_number_of_raw_measurements' => null, 'correlations_over_durations_of_action' => null, + 'correlations_over_onset_delays' => null, 'correlations_over_durations_of_action_chart_config' => null, 'correlations_over_onset_delays_chart_config' => null, 'number_of_users' => null, @@ -392,6 +394,7 @@ public static function swaggerFormats() 'average_pearson_correlation_coefficient_over_onset_delays' => 'averagePearsonCorrelationCoefficientOverOnsetDelays', 'cause_number_of_raw_measurements' => 'causeNumberOfRawMeasurements', 'correlations_over_durations_of_action' => 'correlationsOverDurationsOfAction', + 'correlations_over_onset_delays' => 'correlationsOverOnsetDelays', 'correlations_over_durations_of_action_chart_config' => 'correlationsOverDurationsOfActionChartConfig', 'correlations_over_onset_delays_chart_config' => 'correlationsOverOnsetDelaysChartConfig', 'number_of_users' => 'numberOfUsers', @@ -503,6 +506,7 @@ public static function swaggerFormats() 'average_pearson_correlation_coefficient_over_onset_delays' => 'setAveragePearsonCorrelationCoefficientOverOnsetDelays', 'cause_number_of_raw_measurements' => 'setCauseNumberOfRawMeasurements', 'correlations_over_durations_of_action' => 'setCorrelationsOverDurationsOfAction', + 'correlations_over_onset_delays' => 'setCorrelationsOverOnsetDelays', 'correlations_over_durations_of_action_chart_config' => 'setCorrelationsOverDurationsOfActionChartConfig', 'correlations_over_onset_delays_chart_config' => 'setCorrelationsOverOnsetDelaysChartConfig', 'number_of_users' => 'setNumberOfUsers', @@ -614,6 +618,7 @@ public static function swaggerFormats() 'average_pearson_correlation_coefficient_over_onset_delays' => 'getAveragePearsonCorrelationCoefficientOverOnsetDelays', 'cause_number_of_raw_measurements' => 'getCauseNumberOfRawMeasurements', 'correlations_over_durations_of_action' => 'getCorrelationsOverDurationsOfAction', + 'correlations_over_onset_delays' => 'getCorrelationsOverOnsetDelays', 'correlations_over_durations_of_action_chart_config' => 'getCorrelationsOverDurationsOfActionChartConfig', 'correlations_over_onset_delays_chart_config' => 'getCorrelationsOverOnsetDelaysChartConfig', 'number_of_users' => 'getNumberOfUsers', @@ -779,6 +784,7 @@ public function __construct(array $data = null) $this->container['average_pearson_correlation_coefficient_over_onset_delays'] = isset($data['average_pearson_correlation_coefficient_over_onset_delays']) ? $data['average_pearson_correlation_coefficient_over_onset_delays'] : null; $this->container['cause_number_of_raw_measurements'] = isset($data['cause_number_of_raw_measurements']) ? $data['cause_number_of_raw_measurements'] : null; $this->container['correlations_over_durations_of_action'] = isset($data['correlations_over_durations_of_action']) ? $data['correlations_over_durations_of_action'] : null; + $this->container['correlations_over_onset_delays'] = isset($data['correlations_over_onset_delays']) ? $data['correlations_over_onset_delays'] : null; $this->container['correlations_over_durations_of_action_chart_config'] = isset($data['correlations_over_durations_of_action_chart_config']) ? $data['correlations_over_durations_of_action_chart_config'] : null; $this->container['correlations_over_onset_delays_chart_config'] = isset($data['correlations_over_onset_delays_chart_config']) ? $data['correlations_over_onset_delays_chart_config'] : null; $this->container['number_of_users'] = isset($data['number_of_users']) ? $data['number_of_users'] : null; @@ -801,171 +807,12 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['average_daily_high_cause'] === null) { - $invalidProperties[] = "'average_daily_high_cause' can't be null"; - } - if ($this->container['average_daily_low_cause'] === null) { - $invalidProperties[] = "'average_daily_low_cause' can't be null"; - } - if ($this->container['average_effect'] === null) { - $invalidProperties[] = "'average_effect' can't be null"; - } - if ($this->container['average_effect_following_high_cause'] === null) { - $invalidProperties[] = "'average_effect_following_high_cause' can't be null"; - } - if ($this->container['average_effect_following_low_cause'] === null) { - $invalidProperties[] = "'average_effect_following_low_cause' can't be null"; - } - if ($this->container['average_forward_pearson_correlation_over_onset_delays'] === null) { - $invalidProperties[] = "'average_forward_pearson_correlation_over_onset_delays' can't be null"; - } - if ($this->container['average_reverse_pearson_correlation_over_onset_delays'] === null) { - $invalidProperties[] = "'average_reverse_pearson_correlation_over_onset_delays' can't be null"; - } - if ($this->container['average_vote'] === null) { - $invalidProperties[] = "'average_vote' can't be null"; - } - if ($this->container['cause_changes'] === null) { - $invalidProperties[] = "'cause_changes' can't be null"; - } - if ($this->container['cause_user_variable_share_user_measurements'] === null) { - $invalidProperties[] = "'cause_user_variable_share_user_measurements' can't be null"; - } if ($this->container['cause_variable_name'] === null) { $invalidProperties[] = "'cause_variable_name' can't be null"; } - if ($this->container['confidence_interval'] === null) { - $invalidProperties[] = "'confidence_interval' can't be null"; - } - if ($this->container['confidence_level'] === null) { - $invalidProperties[] = "'confidence_level' can't be null"; - } - if ($this->container['correlation_coefficient'] === null) { - $invalidProperties[] = "'correlation_coefficient' can't be null"; - } - if ($this->container['created_at'] === null) { - $invalidProperties[] = "'created_at' can't be null"; - } - if ($this->container['critical_t_value'] === null) { - $invalidProperties[] = "'critical_t_value' can't be null"; - } - if ($this->container['direction'] === null) { - $invalidProperties[] = "'direction' can't be null"; - } - if ($this->container['duration_of_action'] === null) { - $invalidProperties[] = "'duration_of_action' can't be null"; - } - if ($this->container['duration_of_action_in_hours'] === null) { - $invalidProperties[] = "'duration_of_action_in_hours' can't be null"; - } - if ($this->container['effect_changes'] === null) { - $invalidProperties[] = "'effect_changes' can't be null"; - } - if ($this->container['effect_size'] === null) { - $invalidProperties[] = "'effect_size' can't be null"; - } - if ($this->container['effect_unit'] === null) { - $invalidProperties[] = "'effect_unit' can't be null"; - } if ($this->container['effect_variable_name'] === null) { $invalidProperties[] = "'effect_variable_name' can't be null"; } - if ($this->container['experiment_end_time'] === null) { - $invalidProperties[] = "'experiment_end_time' can't be null"; - } - if ($this->container['experiment_start_time'] === null) { - $invalidProperties[] = "'experiment_start_time' can't be null"; - } - if ($this->container['forward_spearman_correlation_coefficient'] === null) { - $invalidProperties[] = "'forward_spearman_correlation_coefficient' can't be null"; - } - if ($this->container['number_of_pairs'] === null) { - $invalidProperties[] = "'number_of_pairs' can't be null"; - } - if ($this->container['onset_delay'] === null) { - $invalidProperties[] = "'onset_delay' can't be null"; - } - if ($this->container['onset_delay_in_hours'] === null) { - $invalidProperties[] = "'onset_delay_in_hours' can't be null"; - } - if ($this->container['onset_delay_with_strongest_pearson_correlation'] === null) { - $invalidProperties[] = "'onset_delay_with_strongest_pearson_correlation' can't be null"; - } - if ($this->container['onset_delay_with_strongest_pearson_correlation_in_hours'] === null) { - $invalidProperties[] = "'onset_delay_with_strongest_pearson_correlation_in_hours' can't be null"; - } - if ($this->container['optimal_pearson_product'] === null) { - $invalidProperties[] = "'optimal_pearson_product' can't be null"; - } - if ($this->container['outcome_filling_value'] === null) { - $invalidProperties[] = "'outcome_filling_value' can't be null"; - } - if ($this->container['pearson_correlation_with_no_onset_delay'] === null) { - $invalidProperties[] = "'pearson_correlation_with_no_onset_delay' can't be null"; - } - if ($this->container['predictive_pearson_correlation'] === null) { - $invalidProperties[] = "'predictive_pearson_correlation' can't be null"; - } - if ($this->container['predictive_pearson_correlation_coefficient'] === null) { - $invalidProperties[] = "'predictive_pearson_correlation_coefficient' can't be null"; - } - if ($this->container['predictor_data_sources'] === null) { - $invalidProperties[] = "'predictor_data_sources' can't be null"; - } - if ($this->container['predictor_filling_value'] === null) { - $invalidProperties[] = "'predictor_filling_value' can't be null"; - } - if ($this->container['predictor_maximum_allowed_value'] === null) { - $invalidProperties[] = "'predictor_maximum_allowed_value' can't be null"; - } - if ($this->container['predictor_minimum_allowed_value'] === null) { - $invalidProperties[] = "'predictor_minimum_allowed_value' can't be null"; - } - if ($this->container['predicts_high_effect_change'] === null) { - $invalidProperties[] = "'predicts_high_effect_change' can't be null"; - } - if ($this->container['predicts_low_effect_change'] === null) { - $invalidProperties[] = "'predicts_low_effect_change' can't be null"; - } - if ($this->container['qm_score'] === null) { - $invalidProperties[] = "'qm_score' can't be null"; - } - if ($this->container['reverse_pearson_correlation_coefficient'] === null) { - $invalidProperties[] = "'reverse_pearson_correlation_coefficient' can't be null"; - } - if ($this->container['share_user_measurements'] === null) { - $invalidProperties[] = "'share_user_measurements' can't be null"; - } - if ($this->container['significant_difference'] === null) { - $invalidProperties[] = "'significant_difference' can't be null"; - } - if ($this->container['statistical_significance'] === null) { - $invalidProperties[] = "'statistical_significance' can't be null"; - } - if ($this->container['strength_level'] === null) { - $invalidProperties[] = "'strength_level' can't be null"; - } - if ($this->container['strongest_pearson_correlation_coefficient'] === null) { - $invalidProperties[] = "'strongest_pearson_correlation_coefficient' can't be null"; - } - if ($this->container['t_value'] === null) { - $invalidProperties[] = "'t_value' can't be null"; - } - if ($this->container['updated_at'] === null) { - $invalidProperties[] = "'updated_at' can't be null"; - } - if ($this->container['user_id'] === null) { - $invalidProperties[] = "'user_id' can't be null"; - } - if ($this->container['user_vote'] === null) { - $invalidProperties[] = "'user_vote' can't be null"; - } - if ($this->container['value_predicting_high_outcome'] === null) { - $invalidProperties[] = "'value_predicting_high_outcome' can't be null"; - } - if ($this->container['value_predicting_low_outcome'] === null) { - $invalidProperties[] = "'value_predicting_low_outcome' can't be null"; - } return $invalidProperties; } @@ -3058,7 +2905,7 @@ public function getOutcomeDataSources() /** * Sets outcome_data_sources * - * @param string $outcome_data_sources original name of the cause. + * @param string $outcome_data_sources Sources used to collect data for the outcome variable * * @return $this */ @@ -3120,7 +2967,7 @@ public function setReverseCorrelation($reverse_correlation) /** * Gets average_pearson_correlation_coefficient_over_onset_delays * - * @return string + * @return float */ public function getAveragePearsonCorrelationCoefficientOverOnsetDelays() { @@ -3130,7 +2977,7 @@ public function getAveragePearsonCorrelationCoefficientOverOnsetDelays() /** * Sets average_pearson_correlation_coefficient_over_onset_delays * - * @param string $average_pearson_correlation_coefficient_over_onset_delays Ex: + * @param float $average_pearson_correlation_coefficient_over_onset_delays Ex: * * @return $this */ @@ -3168,7 +3015,7 @@ public function setCauseNumberOfRawMeasurements($cause_number_of_raw_measurement /** * Gets correlations_over_durations_of_action * - * @return string + * @return null[] */ public function getCorrelationsOverDurationsOfAction() { @@ -3178,7 +3025,7 @@ public function getCorrelationsOverDurationsOfAction() /** * Sets correlations_over_durations_of_action * - * @param string $correlations_over_durations_of_action Ex: + * @param null[] $correlations_over_durations_of_action Correlations calculated with various duration of action hyper-parameters * * @return $this */ @@ -3189,10 +3036,34 @@ public function setCorrelationsOverDurationsOfAction($correlations_over_duration return $this; } + /** + * Gets correlations_over_onset_delays + * + * @return null[] + */ + public function getCorrelationsOverOnsetDelays() + { + return $this->container['correlations_over_onset_delays']; + } + + /** + * Sets correlations_over_onset_delays + * + * @param null[] $correlations_over_onset_delays Correlations calculated with various onset delay hyper-parameters + * + * @return $this + */ + public function setCorrelationsOverOnsetDelays($correlations_over_onset_delays) + { + $this->container['correlations_over_onset_delays'] = $correlations_over_onset_delays; + + return $this; + } + /** * Gets correlations_over_durations_of_action_chart_config * - * @return string + * @return object */ public function getCorrelationsOverDurationsOfActionChartConfig() { @@ -3202,7 +3073,7 @@ public function getCorrelationsOverDurationsOfActionChartConfig() /** * Sets correlations_over_durations_of_action_chart_config * - * @param string $correlations_over_durations_of_action_chart_config Ex: + * @param object $correlations_over_durations_of_action_chart_config Highchart config illustrating correlations calculated with various duration of action hyper-parameters * * @return $this */ @@ -3216,7 +3087,7 @@ public function setCorrelationsOverDurationsOfActionChartConfig($correlations_ov /** * Gets correlations_over_onset_delays_chart_config * - * @return string + * @return object */ public function getCorrelationsOverOnsetDelaysChartConfig() { @@ -3226,7 +3097,7 @@ public function getCorrelationsOverOnsetDelaysChartConfig() /** * Sets correlations_over_onset_delays_chart_config * - * @param string $correlations_over_onset_delays_chart_config Ex: + * @param object $correlations_over_onset_delays_chart_config Highchart config illustrating correlations calculated with various onset delay hyper-parameters * * @return $this */ diff --git a/test/Model/CorrelationTest.php b/test/Model/CorrelationTest.php index 7919165..e8612c1 100644 --- a/test/Model/CorrelationTest.php +++ b/test/Model/CorrelationTest.php @@ -720,6 +720,13 @@ public function testPropertyCorrelationsOverDurationsOfAction() { } + /** + * Test attribute "correlations_over_onset_delays" + */ + public function testPropertyCorrelationsOverOnsetDelays() + { + } + /** * Test attribute "correlations_over_durations_of_action_chart_config" */