From c80db4fc727d55caf8314480e19179e403f449d8 Mon Sep 17 00:00:00 2001 From: Nick Metz Date: Tue, 14 Sep 2021 10:02:21 +0200 Subject: [PATCH] update api version to 5.2.1 --- .openapi-generator-ignore | 3 - .openapi-generator/FILES | 1 + .openapi-generator/VERSION | 2 +- api/openapi.yaml | 580 ++++++++++++++++++-- api_account.go | 27 +- api_alert.go | 60 +- api_alert_definition.go | 498 ++++++++--------- api_checkpoint.go | 140 +++-- api_dashboard.go | 108 ++-- api_integration.go | 27 +- api_miscellaneous.go | 59 +- api_monitor.go | 257 +++++---- api_monitor_check.go | 243 ++++---- api_monitor_group.go | 217 ++++---- api_operator.go | 242 ++++---- api_operator_group.go | 241 ++++---- api_public_status_page.go | 168 +++--- api_register.go | 30 +- api_scheduled_report.go | 111 ++-- api_sla.go | 220 ++++---- api_statistics.go | 54 +- api_status.go | 46 +- api_vault.go | 251 +++++---- client.go | 12 +- configuration.go | 12 +- docs/Ipv6Address.md | 77 +++ go.mod | 4 +- go.sum | 8 +- model_account_statistics.go | 12 +- model_alert.go | 12 +- model_alert_attributes.go | 12 +- model_alert_definition.go | 12 +- model_alert_definition_member.go | 12 +- model_alert_definition_monitor.go | 12 +- model_alert_definition_monitor_group.go | 12 +- model_alert_definition_operator.go | 12 +- model_alert_definition_operator_group.go | 12 +- model_alert_escalation_level_member.go | 12 +- model_alert_response.go | 12 +- model_alert_type.go | 14 +- model_api_assertion.go | 12 +- model_api_assertion_source_type.go | 14 +- model_api_authentication_info.go | 12 +- model_api_comparison_type.go | 14 +- model_api_http_authentication_type.go | 14 +- model_api_http_header_value.go | 12 +- model_api_variable_definition.go | 12 +- model_api_variable_source_type.go | 14 +- model_assertion_info.go | 12 +- model_assertion_results_info.go | 12 +- model_browser_type.go | 14 +- model_browser_window_dimensions.go | 12 +- model_capability_filter_enum.go | 14 +- model_certificate_archive.go | 12 +- model_checkpoin_server_response.go | 12 +- model_checkpoint.go | 12 +- model_checkpoint2.go | 12 +- model_checkpoint_attributes.go | 24 +- model_checkpoint_list_response.go | 12 +- model_checkpoint_region.go | 12 +- model_checkpoint_response.go | 12 +- model_checkpoint_server.go | 12 +- model_checkpoint_server_attributes.go | 12 +- model_cursors_data.go | 12 +- model_custom_field.go | 12 +- model_custom_metric.go | 12 +- model_customization_info.go | 12 +- model_dashboard.go | 12 +- model_dashboard_filter.go | 12 +- model_date_time_pattern_match.go | 12 +- model_day_of_week.go | 14 +- model_dns_query.go | 14 +- model_error_level.go | 14 +- model_error_level_filter.go | 14 +- model_escalation_level.go | 12 +- model_escalation_level_integration.go | 12 +- model_escalation_mode.go | 14 +- model_exclusion_period.go | 12 +- model_file_info.go | 12 +- model_http_attributes.go | 12 +- model_http_check_details.go | 12 +- model_http_details_response.go | 12 +- model_http_engine_attributes.go | 12 +- model_http_engine_check_details.go | 12 +- model_http_engine_step.go | 12 +- model_http_method.go | 14 +- model_integration.go | 12 +- model_integration_service_map.go | 12 +- model_integration_type_enum.go | 14 +- model_ip_version.go | 14 +- model_ipv6_address.go | 12 +- model_jwt_algorithm.go | 14 +- model_last_error_level.go | 14 +- model_links_data.go | 12 +- model_list_string_response.go | 12 +- model_maintenance_period.go | 12 +- model_maintenance_types.go | 14 +- model_message_info.go | 12 +- model_message_list.go | 12 +- model_meta_data.go | 12 +- model_monitor.go | 12 +- model_monitor_check.go | 12 +- model_monitor_check_attributes.go | 12 +- model_monitor_check_response.go | 12 +- model_monitor_group.go | 12 +- model_monitor_group_member.go | 12 +- model_monitor_mode.go | 14 +- model_monitor_quota.go | 12 +- model_monitor_status.go | 12 +- model_monitor_status_attributes.go | 12 +- model_monitor_status_list_response.go | 12 +- model_monitor_status_response.go | 12 +- model_monitor_type.go | 14 +- model_msa_body_type.go | 14 +- model_msa_details_response.go | 12 +- model_msa_step.go | 12 +- model_msa_step_type.go | 14 +- model_operator.go | 12 +- model_operator_authorization_type.go | 14 +- model_operator_duty_schedule.go | 12 +- model_operator_group.go | 12 +- model_operator_group_authorization.go | 12 +- model_operator_group_authorization_type.go | 14 +- model_operator_group_member.go | 12 +- model_operator_member.go | 12 +- model_operator_quota.go | 12 +- model_operator_schedule_mode.go | 14 +- model_outgoing_phone_number_details.go | 12 +- model_page_element.go | 12 +- model_pattern_match.go | 12 +- model_period_meta_data.go | 12 +- model_predefined_variable.go | 12 +- model_preset_period_type.go | 14 +- model_preset_period_type_with_exclusive.go | 14 +- model_psp_authorization.go | 12 +- model_psp_authorization_type.go | 14 +- model_public_status_page.go | 12 +- model_recipients.go | 12 +- model_register_status.go | 14 +- model_registration_response.go | 12 +- model_relation_object.go | 12 +- model_request_header.go | 12 +- model_schedule.go | 12 +- model_schedule_mode.go | 14 +- model_schedule_type.go | 14 +- model_scheduled_report.go | 12 +- model_scheduled_report_file_type.go | 14 +- model_screenshot_response.go | 12 +- model_selected_checkpoints.go | 12 +- model_selected_period.go | 12 +- model_selected_period_type.go | 14 +- model_sftp_action.go | 14 +- model_single_monitor_check_response.go | 12 +- model_sla.go | 12 +- model_sms_provider.go | 14 +- model_sort_direction.go | 14 +- model_sort_order_enum.go | 14 +- model_statistics.go | 12 +- model_statistics_attributes.go | 12 +- model_statistics_response.go | 12 +- model_step_timing_info.go | 12 +- model_sub_step_type.go | 14 +- model_throttling_options.go | 12 +- model_throttling_type.go | 14 +- model_throttling_value.go | 14 +- model_timezone.go | 12 +- model_tls_version.go | 14 +- model_transaction_attributes.go | 12 +- model_transaction_check_details.go | 12 +- model_transaction_details_response.go | 12 +- model_transaction_step.go | 12 +- model_transaction_step2.go | 12 +- model_transaction_step_definition.go | 12 +- model_transaction_step_o_resource_object.go | 12 +- model_transaction_sub_step.go | 12 +- model_user_defined_function.go | 12 +- model_user_defined_function_mapping.go | 12 +- model_user_defined_function_type.go | 14 +- model_vault_item.go | 12 +- model_vault_item_types.go | 14 +- model_vault_section.go | 12 +- model_vault_section_authorization.go | 12 +- model_vault_section_authorization_type.go | 14 +- model_waterfall_info.go | 12 +- model_waterfall_response.go | 12 +- response.go | 12 +- utils.go | 12 +- 187 files changed, 3099 insertions(+), 2607 deletions(-) create mode 100644 docs/Ipv6Address.md diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore index 96b4c39..9261626 100644 --- a/.openapi-generator-ignore +++ b/.openapi-generator-ignore @@ -18,8 +18,5 @@ # You can also negate patterns with an exclamation (!). # For example, you can ignore all files in a docs folder with the file extension .md: -docs/Ipv6Address.md go.sum go.mod -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index e794754..25c0425 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -92,6 +92,7 @@ docs/IntegrationApi.md docs/IntegrationServiceMap.md docs/IntegrationTypeEnum.md docs/IpVersion.md +docs/Ipv6Address.md docs/JwtAlgorithm.md docs/LastErrorLevel.md docs/LinksData.md diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 7cbea07..8044406 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -5.2.0 \ No newline at end of file +5.2.1 \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml index 481f5e4..b77874e 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -115,12 +115,14 @@ paths: operationId: CheckpointRegion_GetSpecifiedCheckpointRegion parameters: - description: The id for the specified checkpoint region. + explode: false in: path name: checkpointRegionId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -160,12 +162,14 @@ paths: operationId: CheckpointRegion_GetCheckpointRegionCheckpoints parameters: - description: The id for the specified checkpoint region. + explode: false in: path name: checkpointRegionId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -241,6 +245,7 @@ paths: operationId: Dashboard_DeleteDashboard parameters: - description: The guid of the specified dashboard. + explode: false in: path name: dashboardGuid required: true @@ -248,6 +253,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -280,6 +286,7 @@ paths: operationId: Dashboard_GetOneDashboard parameters: - description: The guid of the specified dashboard. + explode: false in: path name: dashboardGuid required: true @@ -287,6 +294,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -325,6 +333,7 @@ paths: operationId: Dashboard_PartiallyUpdateDashboard parameters: - description: The guid of the specified dashboard. + explode: false in: path name: dashboardGuid required: true @@ -332,6 +341,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -375,6 +385,7 @@ paths: operationId: Dashboard_UpdateDashboard parameters: - description: The guid of the specified dashboard. + explode: false in: path name: dashboardGuid required: true @@ -382,6 +393,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -426,6 +438,7 @@ paths: operationId: Dashboard_CloneDashboard parameters: - description: The guid of the specified dashboard. + explode: false in: path name: dashboardGuid required: true @@ -433,6 +446,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: @@ -553,6 +567,7 @@ paths: operationId: PublicStatusPage_DeletePublicStatusPage parameters: - description: The Guid of the public status page that should be updated. + explode: false in: path name: publicStatusPageGuid required: true @@ -560,6 +575,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -592,6 +608,7 @@ paths: operationId: PublicStatusPage_GetPublicStatusPage parameters: - description: The Guid of the requested public status page. + explode: false in: path name: publicStatusPageGuid required: true @@ -599,6 +616,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -641,6 +659,7 @@ paths: operationId: PublicStatusPage_PatchPublicStatusPage parameters: - description: The Guid of the public status page that should be updated. + explode: false in: path name: publicStatusPageGuid required: true @@ -648,6 +667,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -696,6 +716,7 @@ paths: operationId: PublicStatusPage_PutPublicStatusPage parameters: - description: The Guid of the public status page that should be updated. + explode: false in: path name: publicStatusPageGuid required: true @@ -703,6 +724,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -748,6 +770,7 @@ paths: operationId: PublicStatusPage_GetAuthorizationsForPublicStatusPage parameters: - description: The Guid of the public status page. + explode: false in: path name: publicStatusPageGuid required: true @@ -755,6 +778,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -802,6 +826,7 @@ paths: operationId: PublicStatusPage_AddAuthorizationToPublicStatusPage parameters: - description: The Guid of the public status page. + explode: false in: path name: publicStatusPageGuid required: true @@ -809,6 +834,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -874,6 +900,7 @@ paths: operationId: PublicStatusPage_RemoveAuthorizationFromPublicStatusPage parameters: - description: The Guid of the public status page. + explode: false in: path name: publicStatusPageGuid required: true @@ -881,7 +908,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the authorization. + explode: false in: path name: authorizationGuid required: true @@ -889,6 +918,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -1002,6 +1032,7 @@ paths: operationId: ScheduledReport_DeleteSpecifiedScheduledReport parameters: - description: The guid of the specified scheduled report. + explode: false in: path name: scheduledReportGuid required: true @@ -1009,6 +1040,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -1041,6 +1073,7 @@ paths: operationId: ScheduledReport_GetSpecifiedScheduledReport parameters: - description: The guid of the specified scheduled report. + explode: false in: path name: scheduledReportGuid required: true @@ -1048,6 +1081,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -1086,6 +1120,7 @@ paths: operationId: ScheduledReport_PartiallyUpdateScheduledReport parameters: - description: The guid of the specified scheduled report. + explode: false in: path name: scheduledReportGuid required: true @@ -1093,6 +1128,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -1142,6 +1178,7 @@ paths: operationId: ScheduledReport_UpdateScheduledReport parameters: - description: The guid of the specified scheduled report. + explode: false in: path name: scheduledReportGuid required: true @@ -1149,6 +1186,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -1278,6 +1316,7 @@ paths: operationId: Sla_DeleteSla parameters: - description: The Guid of the SLA definition that should be deleted. + explode: false in: path name: slaGuid required: true @@ -1285,6 +1324,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -1326,6 +1366,7 @@ paths: operationId: Sla_GetSla parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1333,6 +1374,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -1384,6 +1426,7 @@ paths: operationId: Sla_PatchSla parameters: - description: The Guid of the SLA that should be updated. + explode: false in: path name: slaGuid required: true @@ -1391,6 +1434,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -1438,6 +1482,7 @@ paths: operationId: Sla_PutSla parameters: - description: The Guid of the SLA that should be updated. + explode: false in: path name: slaGuid required: true @@ -1445,6 +1490,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -1489,6 +1535,7 @@ paths: operationId: Sla_GetExclusionPeriods parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1496,6 +1543,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -1538,6 +1586,7 @@ paths: operationId: Sla_PostExclusionPeriod parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1545,6 +1594,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -1595,6 +1645,7 @@ paths: operationId: Sla_DeleteExclusionPeriod parameters: - description: The Guid of the sla definition. + explode: false in: path name: slaGuid required: true @@ -1602,7 +1653,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The id of the exclusion period. + explode: false in: path name: exclusionPeriodId required: true @@ -1610,6 +1663,7 @@ paths: format: int32 nullable: false type: integer + style: simple responses: "204": content: {} @@ -1652,6 +1706,7 @@ paths: operationId: Sla_GetExclusionPeriod parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1659,7 +1714,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The id of the exclusion period. + explode: false in: path name: exclusionPeriodId required: true @@ -1667,6 +1724,7 @@ paths: format: int32 nullable: false type: integer + style: simple responses: "200": content: @@ -1715,6 +1773,7 @@ paths: operationId: Sla_PatchExclusionPeriod parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1722,7 +1781,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The id of the exclusion period. + explode: false in: path name: exclusionPeriodId required: true @@ -1730,6 +1791,7 @@ paths: format: int32 nullable: false type: integer + style: simple requestBody: content: application/json: @@ -1784,6 +1846,7 @@ paths: operationId: Sla_PutExclusionPeriod parameters: - description: The Guid of the SLA definition. + explode: false in: path name: slaGuid required: true @@ -1791,7 +1854,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The id of the exclusion period. + explode: false in: path name: exclusionPeriodId required: true @@ -1799,6 +1864,7 @@ paths: format: int32 nullable: false type: integer + style: simple requestBody: content: application/json: @@ -1853,6 +1919,7 @@ paths: operationId: Statistics_GetMonitorStatistics parameters: - description: The Guid of the monitor. + explode: false in: path name: monitorGuid required: true @@ -1860,30 +1927,42 @@ paths: format: guid nullable: false type: string + style: simple - description: The filter for the requested response fields. E.g. "Alerts,SlaTarget". + explode: true in: query name: Filter + required: false schema: nullable: true type: string + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -1911,6 +1990,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -1952,6 +2032,7 @@ paths: operationId: Statistics_GetMonitorGroupStatistics parameters: - description: The Guid of the monitor group. + explode: false in: path name: monitorGroupGuid required: true @@ -1959,30 +2040,42 @@ paths: format: guid nullable: false type: string + style: simple - description: The filter for the requested response fields. E.g. "Alerts,SlaTarget". + explode: true in: query name: Filter + required: false schema: nullable: true type: string + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -2010,6 +2103,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -2051,6 +2145,7 @@ paths: operationId: Alert_GetMonitorAlerts parameters: - description: The Guid of the monitor to get alerts for. + explode: false in: path name: monitorGuid required: true @@ -2058,22 +2153,31 @@ paths: format: guid nullable: false type: string + style: simple - description: When true reminder alerts will be included in the results + explode: true in: query name: IncludeReminders + required: false schema: default: false nullable: false type: boolean + style: form - description: A cursor value that should be used for traversing the dataset. + explode: true in: query name: Cursor + required: false schema: nullable: true type: string + style: form - description: Sorting direction based on timestamp. + explode: true in: query name: Sorting + required: false schema: default: Descending enum: @@ -2083,11 +2187,14 @@ paths: type: string x-schema: $ref: '#/definitions/SortDirection' + style: form x-schema: $ref: '#/definitions/SortDirection' - description: The number of records to return (Max value = 100) + explode: true in: query name: Take + required: false schema: default: 100 format: int32 @@ -2095,24 +2202,33 @@ paths: minimum: 0.0 nullable: false type: integer + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -2140,6 +2256,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -2181,6 +2298,7 @@ paths: operationId: Alert_GetMonitorGroupAlerts parameters: - description: The Guid of the monitor group to get alerts for. + explode: false in: path name: monitorGroupGuid required: true @@ -2188,22 +2306,31 @@ paths: format: guid nullable: false type: string + style: simple - description: When true reminder alerts will be included in the results + explode: true in: query name: IncludeReminders + required: false schema: default: false nullable: false type: boolean + style: form - description: A cursor value that should be used for traversing the dataset. + explode: true in: query name: Cursor + required: false schema: nullable: true type: string + style: form - description: Sorting direction based on timestamp. + explode: true in: query name: Sorting + required: false schema: default: Descending enum: @@ -2213,11 +2340,14 @@ paths: type: string x-schema: $ref: '#/definitions/SortDirection' + style: form x-schema: $ref: '#/definitions/SortDirection' - description: The number of records to return (Max value = 100) + explode: true in: query name: Take + required: false schema: default: 100 format: int32 @@ -2225,24 +2355,33 @@ paths: minimum: 0.0 nullable: false type: integer + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -2270,6 +2409,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -2343,6 +2483,7 @@ paths: operationId: Status_GetMonitorStatus parameters: - description: The Guid of the monitor. + explode: false in: path name: monitorGuid required: true @@ -2350,6 +2491,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -2389,6 +2531,7 @@ paths: operationId: Status_GetMonitorGroupStatus parameters: - description: The Guid of the monitor group. + explode: false in: path name: monitorGroupGuid required: true @@ -2396,6 +2539,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -2523,6 +2667,7 @@ paths: operationId: AlertDefinition_DeleteAlertDefinition parameters: - description: The Guid of the alert definition to remove. + explode: false in: path name: alertDefinitionGuid required: true @@ -2530,6 +2675,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -2571,6 +2717,7 @@ paths: operationId: AlertDefinition_GetSpecifiedAlertDefinitions parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -2578,6 +2725,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -2618,6 +2766,7 @@ paths: operationId: AlertDefinition_PatchAlertDefinition parameters: - description: The Guid of the alert definition that should be updated. + explode: false in: path name: alertDefinitionGuid required: true @@ -2625,6 +2774,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -2680,6 +2830,7 @@ paths: operationId: AlertDefinition_PutAlertDefinition parameters: - description: The Guid of the alert definition that should be updated. + explode: false in: path name: alertDefinitionGuid required: true @@ -2687,6 +2838,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -2741,6 +2893,7 @@ paths: operationId: AlertDefinition_GetAllMembers parameters: - description: The Guid of the alert definition for which to return the members. + explode: false in: path name: alertDefinitionGuid required: true @@ -2748,6 +2901,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -2801,6 +2955,7 @@ paths: operationId: AlertDefinition_RemoveMonitorFromAlertDefinition parameters: - description: The Guid of the alert definition to modify. + explode: false in: path name: alertDefinitionGuid required: true @@ -2808,7 +2963,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the monitor to remove. + explode: false in: path name: monitorGuid required: true @@ -2816,6 +2973,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -2857,6 +3015,7 @@ paths: operationId: AlertDefinition_AddMonitorToAlertDefinition parameters: - description: The Guid of the alert definition to modify. + explode: false in: path name: alertDefinitionGuid required: true @@ -2864,7 +3023,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the monitor to add. + explode: false in: path name: monitorGuid required: true @@ -2872,6 +3033,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: @@ -2920,6 +3082,7 @@ paths: operationId: AlertDefinition_RemoveMonitorGroupFromAlertDefinition parameters: - description: The Guid of the alert definition to modify. + explode: false in: path name: alertDefinitionGuid required: true @@ -2927,7 +3090,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the monitor group to remove. + explode: false in: path name: monitorGroupGuid required: true @@ -2935,6 +3100,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -2976,6 +3142,7 @@ paths: operationId: AlertDefinition_AddMonitorGroupToAlertDefinition parameters: - description: The Guid of the alert definition to modify. + explode: false in: path name: alertDefinitionGuid required: true @@ -2983,7 +3150,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the monitor group to add. + explode: false in: path name: monitorGroupGuid required: true @@ -2991,6 +3160,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: @@ -3039,6 +3209,7 @@ paths: operationId: AlertDefinition_GetEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3046,13 +3217,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -3102,6 +3276,7 @@ paths: operationId: AlertDefinition_PatchAlertDefinitionEscalation parameters: - description: The Guid of the alert definition that should be updated. + explode: false in: path name: alertDefinitionGuid required: true @@ -3109,13 +3284,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The level number of the escalation that should be updated. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple requestBody: content: application/json: @@ -3171,6 +3349,7 @@ paths: operationId: AlertDefinition_PutAlertDefinitionEscalation parameters: - description: The Guid of the alert definition that should be updated. + explode: false in: path name: alertDefinitionGuid required: true @@ -3178,13 +3357,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The level number of the escalation that should be updated. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple requestBody: content: application/json: @@ -3240,6 +3422,7 @@ paths: parameters: - description: The Guid of the alert definition for which to return all escalation levels. + explode: false in: path name: alertDefinitionGuid required: true @@ -3247,6 +3430,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -3299,6 +3483,7 @@ paths: operationId: AlertDefinition_GetEscalationLevelOperator parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3306,13 +3491,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -3366,6 +3554,7 @@ paths: operationId: AlertDefinition_RemoveOperatorFromEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3373,14 +3562,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the operator to remove. + explode: false in: path name: operatorGuid required: true @@ -3388,6 +3581,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -3429,6 +3623,7 @@ paths: operationId: AlertDefinition_AddOperatorToEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3436,14 +3631,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the operator to add. + explode: false in: path name: operatorGuid required: true @@ -3451,6 +3650,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: @@ -3499,6 +3699,7 @@ paths: operationId: AlertDefinition_RemoveOperatorGroupFromEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3506,14 +3707,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the operator group to remove. + explode: false in: path name: operatorGroupGuid required: true @@ -3521,6 +3726,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -3562,6 +3768,7 @@ paths: operationId: AlertDefinition_AddOperatorGroupToEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3569,14 +3776,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the operator group to add. + explode: false in: path name: operatorGroupGuid required: true @@ -3584,6 +3795,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: @@ -3632,6 +3844,7 @@ paths: operationId: AlertDefinition_GetAllEscalationLevelIntegrations parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3639,13 +3852,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -3697,6 +3913,7 @@ paths: operationId: AlertDefinition_AddIntegrationToEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3704,13 +3921,16 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple requestBody: content: application/json: @@ -3770,6 +3990,7 @@ paths: operationId: AlertDefinition_RemoveIntegrationFromEscalationLevel parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3777,14 +3998,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the integration to remove. + explode: false in: path name: integrationGuid required: true @@ -3792,6 +4017,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -3833,6 +4059,7 @@ paths: operationId: AlertDefinition_GetEscalationLevelIntegration parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3840,14 +4067,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the integration. + explode: false in: path name: integrationGuid required: true @@ -3855,6 +4086,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -3902,6 +4134,7 @@ paths: operationId: AlertDefinition_UpdateIntegrationForEscalationWithPatch parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3909,14 +4142,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the integration to update. + explode: false in: path name: integrationGuid required: true @@ -3924,6 +4161,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -3976,6 +4214,7 @@ paths: operationId: AlertDefinition_UpdateIntegrationForEscalationWithPut parameters: - description: The Guid of the alert definition. + explode: false in: path name: alertDefinitionGuid required: true @@ -3983,14 +4222,18 @@ paths: format: guid nullable: false type: string + style: simple - description: The escalation level id. + explode: false in: path name: escalationLevelId required: true schema: nullable: false type: integer + style: simple - description: The Guid of the integration to update. + explode: false in: path name: integrationGuid required: true @@ -3998,6 +4241,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -4079,12 +4323,14 @@ paths: operationId: Checkpoint_GetCheckpoint parameters: - description: The Id of the requested checkpoint. + explode: false in: path name: checkpointId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -4124,12 +4370,14 @@ paths: operationId: CheckpointServer_GetServer parameters: - description: The Id of the requested server. + explode: false in: path name: serverId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -4282,6 +4530,7 @@ paths: operationId: MonitorGroup_DeleteMonitorGroup parameters: - description: The Guid of the monitor group to be deleted + explode: false in: path name: monitorGroupGuid required: true @@ -4289,6 +4538,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4331,6 +4581,7 @@ paths: operationId: MonitorGroup_GetMonitorGroup parameters: - description: The Guid of the monitor group to be retrieved + explode: false in: path name: monitorGroupGuid required: true @@ -4338,6 +4589,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -4376,6 +4628,7 @@ paths: operationId: MonitorGroup_UpdateMonitorGroup parameters: - description: The Guid of the monitor group to be updated + explode: false in: path name: monitorGroupGuid required: true @@ -4383,6 +4636,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -4442,6 +4696,7 @@ paths: operationId: MonitorGroup_GetMonitorGroupMembers parameters: - description: The Guid of the monitor group to retrieve the members for + explode: false in: path name: monitorGroupGuid required: true @@ -4449,6 +4704,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -4487,13 +4743,15 @@ paths: post: operationId: MonitorGroup_AddMaintenancePeriodToAllMembers parameters: - - in: path + - explode: false + in: path name: monitorGroupGuid required: true schema: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -4538,6 +4796,7 @@ paths: operationId: MonitorGroup_RemoveMonitorFromMonitorGroup parameters: - description: The Guid of the monitor group to remove the monitor from + explode: false in: path name: monitorGroupGuid required: true @@ -4545,7 +4804,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The monitor Guid to be removed + explode: false in: path name: monitorGuid required: true @@ -4553,6 +4814,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4595,6 +4857,7 @@ paths: operationId: MonitorGroup_AddMonitorToMonitorGroup parameters: - description: The Guid of the monitor group to add the monitor to + explode: false in: path name: monitorGroupGuid required: true @@ -4602,7 +4865,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The monitor Guid + explode: false in: path name: monitorGuid required: true @@ -4610,6 +4875,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: {} @@ -4643,6 +4909,7 @@ paths: operationId: MonitorGroup_StopAllMonitorsInGroup parameters: - description: The monitor group GUID + explode: false in: path name: monitorGroupGuid required: true @@ -4650,6 +4917,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4684,6 +4952,7 @@ paths: operationId: MonitorGroup_StartAllMonitorsInGroup parameters: - description: The monitor group GUID + explode: false in: path name: monitorGroupGuid required: true @@ -4691,6 +4960,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4725,6 +4995,7 @@ paths: operationId: MonitorGroup_StopAllMonitorAlertsInGroup parameters: - description: The monitor group GUID + explode: false in: path name: monitorGroupGuid required: true @@ -4732,6 +5003,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4766,6 +5038,7 @@ paths: operationId: MonitorGroup_StartAllMonitorAlertsInGroup parameters: - description: The monitor group GUID + explode: false in: path name: monitorGroupGuid required: true @@ -4773,6 +5046,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4886,6 +5160,7 @@ paths: operationId: Operator_DeleteOperator parameters: - description: The Guid of the operator to delete + explode: false in: path name: operatorGuid required: true @@ -4893,6 +5168,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -4934,6 +5210,7 @@ paths: operationId: Operator_GetOperator parameters: - description: The Guid of the operator for which to retrieve the details + explode: false in: path name: operatorGuid required: true @@ -4941,6 +5218,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -4979,6 +5257,7 @@ paths: operationId: Operator_UpdateOperatorWithPatch parameters: - description: The Guid of the operator to update + explode: false in: path name: operatorGuid required: true @@ -4986,6 +5265,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -5029,6 +5309,7 @@ paths: operationId: Operator_UpdateOperator parameters: - description: The Guid of the operator to update + explode: false in: path name: operatorGuid required: true @@ -5036,6 +5317,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -5081,6 +5363,7 @@ paths: parameters: - description: The Guid of the operator for which to retrieve the operator group guids + explode: false in: path name: operatorGuid required: true @@ -5088,6 +5371,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -5131,6 +5415,7 @@ paths: operationId: Operator_GetAuthorizationsForOperator parameters: - description: The Guid of the operator + explode: false in: path name: operatorGuid required: true @@ -5138,6 +5423,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -5181,6 +5467,7 @@ paths: operationId: Operator_DeleteAuthorizationForOperator parameters: - description: The Guid of the operator + explode: false in: path name: operatorGuid required: true @@ -5188,7 +5475,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The type of authorization + explode: false in: path name: authorizationType required: true @@ -5199,6 +5488,7 @@ paths: type: string x-schema: $ref: '#/definitions/OperatorAuthorizationType' + style: simple x-schema: $ref: '#/definitions/OperatorAuthorizationType' responses: @@ -5233,6 +5523,7 @@ paths: operationId: Operator_PostAuthorizationForOperator parameters: - description: The Guid of the operator + explode: false in: path name: operatorGuid required: true @@ -5240,7 +5531,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The type of authorization + explode: false in: path name: authorizationType required: true @@ -5251,6 +5544,7 @@ paths: type: string x-schema: $ref: '#/definitions/OperatorAuthorizationType' + style: simple x-schema: $ref: '#/definitions/OperatorAuthorizationType' responses: @@ -5286,6 +5580,7 @@ paths: operationId: Operator_GetDutyScheduleForOperator parameters: - description: The Guid of the operator to get the duty schedule for + explode: false in: path name: operatorGuid required: true @@ -5293,6 +5588,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -5335,6 +5631,7 @@ paths: operationId: Operator_AddDutyPeriodForOperator parameters: - description: The Guid of the operator to add the duty schedule to + explode: false in: path name: operatorGuid required: true @@ -5342,6 +5639,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -5385,20 +5683,24 @@ paths: delete: operationId: Operator_DeleteDutyScheduleFromOperator parameters: - - in: path + - explode: false + in: path name: operatorGuid required: true schema: format: guid nullable: false type: string - - in: path + style: simple + - explode: false + in: path name: dutyScheduleId required: true schema: format: int32 nullable: false type: integer + style: simple responses: "204": content: {} @@ -5430,20 +5732,24 @@ paths: put: operationId: Operator_UpdateDutyPeriodForOperator parameters: - - in: path + - explode: false + in: path name: operatorGuid required: true schema: format: guid nullable: false type: string - - in: path + style: simple + - explode: false + in: path name: dutyScheduleId required: true schema: format: int32 nullable: false type: integer + style: simple requestBody: content: application/json: @@ -5518,12 +5824,14 @@ paths: get: operationId: Miscellaneous_GetTimezoneById parameters: - - in: path + - explode: false + in: path name: timezoneId required: true schema: nullable: false type: integer + style: simple responses: "200": content: @@ -5656,6 +5964,7 @@ paths: operationId: OperatorGroup_DeleteOperatorGroup parameters: - description: The Guid of the operator group to be deleted + explode: false in: path name: operatorGroupGuid required: true @@ -5663,6 +5972,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -5705,6 +6015,7 @@ paths: operationId: OperatorGroup_GetOperatorGroup parameters: - description: The Guid of the operator group to be retrieved + explode: false in: path name: operatorGroupGuid required: true @@ -5712,6 +6023,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -5750,6 +6062,7 @@ paths: operationId: OperatorGroup_UpdateOperatorGroup parameters: - description: The Guid of the operator group to be updated + explode: false in: path name: operatorGroupGuid required: true @@ -5757,6 +6070,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -5816,6 +6130,7 @@ paths: operationId: OperatorGroup_GetOperatorGroupMembers parameters: - description: The Guid of the operator group to retrieve the members for + explode: false in: path name: operatorGroupGuid required: true @@ -5823,6 +6138,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -5861,13 +6177,15 @@ paths: post: operationId: OperatorGroup_AddDutyScheduleToAllMembers parameters: - - in: path + - explode: false + in: path name: operatorGroupGuid required: true schema: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -5911,6 +6229,7 @@ paths: operationId: OperatorGroup_RemoveOperatorFromOperatorGroup parameters: - description: The Guid of the operator group to remove the operator from + explode: false in: path name: operatorGroupGuid required: true @@ -5918,7 +6237,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The operator Guid to be removed + explode: false in: path name: operatorGuid required: true @@ -5926,6 +6247,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -5968,6 +6290,7 @@ paths: operationId: OperatorGroup_AddOperatorToOperatorGroup parameters: - description: The Guid of the operator group to add the operator to + explode: false in: path name: operatorGroupGuid required: true @@ -5975,7 +6298,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The operator Guid + explode: false in: path name: operatorGuid required: true @@ -5983,6 +6308,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "201": content: {} @@ -6016,6 +6342,7 @@ paths: operationId: OperatorGroup_AllOperatorsInGroupOnDuty parameters: - description: The operator group GUID + explode: false in: path name: operatorGroupGuid required: true @@ -6023,6 +6350,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -6057,6 +6385,7 @@ paths: operationId: OperatorGroup_AllOperatorsInGroupOffDuty parameters: - description: The operator group GUID + explode: false in: path name: operatorGroupGuid required: true @@ -6064,6 +6393,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -6098,6 +6428,7 @@ paths: operationId: OperatorGroup_GetAuthorizationsForOperatorGroup parameters: - description: The Guid of the operatorgroup for which to return authorizations. + explode: false in: path name: operatorGroupGuid required: true @@ -6105,6 +6436,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -6148,6 +6480,7 @@ paths: operationId: OperatorGroup_CreateAuthorizationForOperatorGroup parameters: - description: The Guid of the operator group for which to create the new authorization. + explode: false in: path name: operatorGroupGuid required: true @@ -6155,6 +6488,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -6205,6 +6539,7 @@ paths: parameters: - description: The Guid of the operator group for which the authorization should be deleted. + explode: false in: path name: operatorGroupGuid required: true @@ -6212,7 +6547,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the authorization that should be deleted. + explode: false in: path name: authorizationGuid required: true @@ -6220,6 +6557,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -6264,8 +6602,10 @@ paths: parameters: - description: Error level filter that should be applied. (default = NoError and above) + explode: true in: query name: ErrorLevel + required: false schema: enum: - NoError @@ -6275,23 +6615,32 @@ paths: type: string x-schema: $ref: '#/definitions/ErrorLevelFilter' + style: form x-schema: $ref: '#/definitions/ErrorLevelFilter' - description: Show partial measurements from concurrent monitors + explode: true in: query name: ShowPartialMeasurements + required: false schema: nullable: false type: boolean + style: form - description: A cursor value that should be used for traversing the dataset. + explode: true in: query name: Cursor + required: false schema: nullable: true type: string + style: form - description: Sorting direction based on timestamp. + explode: true in: query name: Sorting + required: false schema: default: Descending enum: @@ -6301,11 +6650,14 @@ paths: type: string x-schema: $ref: '#/definitions/SortDirection' + style: form x-schema: $ref: '#/definitions/SortDirection' - description: The number of records to return (Max value = 100) + explode: true in: query name: Take + required: false schema: default: 100 format: int32 @@ -6313,24 +6665,33 @@ paths: minimum: 0.0 nullable: false type: integer + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -6358,6 +6719,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -6390,6 +6752,7 @@ paths: operationId: MonitorCheck_GetSingleMonitorCheck parameters: - description: The Id of the monitor check to get the data for. + explode: false in: path name: monitorCheckId required: true @@ -6397,6 +6760,7 @@ paths: format: int64 nullable: false type: integer + style: simple responses: "200": content: @@ -6427,6 +6791,7 @@ paths: operationId: MonitorCheck_GetMonitorCheck parameters: - description: The Guid of the monitor to get monitor checks for. + explode: false in: path name: monitorGuid required: true @@ -6434,10 +6799,13 @@ paths: format: guid nullable: false type: string + style: simple - description: Error level filter that should be applied. (default = NoError and above) + explode: true in: query name: ErrorLevel + required: false schema: enum: - NoError @@ -6447,23 +6815,32 @@ paths: type: string x-schema: $ref: '#/definitions/ErrorLevelFilter' + style: form x-schema: $ref: '#/definitions/ErrorLevelFilter' - description: Show partial measurements from concurrent monitors + explode: true in: query name: ShowPartialMeasurements + required: false schema: nullable: false type: boolean + style: form - description: A cursor value that should be used for traversing the dataset. + explode: true in: query name: Cursor + required: false schema: nullable: true type: string + style: form - description: Sorting direction based on timestamp. + explode: true in: query name: Sorting + required: false schema: default: Descending enum: @@ -6473,11 +6850,14 @@ paths: type: string x-schema: $ref: '#/definitions/SortDirection' + style: form x-schema: $ref: '#/definitions/SortDirection' - description: The number of records to return (Max value = 100) + explode: true in: query name: Take + required: false schema: default: 100 format: int32 @@ -6485,24 +6865,33 @@ paths: minimum: 0.0 nullable: false type: integer + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -6530,6 +6919,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -6562,6 +6952,7 @@ paths: operationId: MonitorCheck_GetMonitorGroupData parameters: - description: The Guid of the monitor group to get monitor checks for. + explode: false in: path name: monitorGroupGuid required: true @@ -6569,10 +6960,13 @@ paths: format: guid nullable: false type: string + style: simple - description: Error level filter that should be applied. (default = NoError and above) + explode: true in: query name: ErrorLevel + required: false schema: enum: - NoError @@ -6582,23 +6976,32 @@ paths: type: string x-schema: $ref: '#/definitions/ErrorLevelFilter' + style: form x-schema: $ref: '#/definitions/ErrorLevelFilter' - description: Show partial measurements from concurrent monitors + explode: true in: query name: ShowPartialMeasurements + required: false schema: nullable: false type: boolean + style: form - description: A cursor value that should be used for traversing the dataset. + explode: true in: query name: Cursor + required: false schema: nullable: true type: string + style: form - description: Sorting direction based on timestamp. + explode: true in: query name: Sorting + required: false schema: default: Descending enum: @@ -6608,11 +7011,14 @@ paths: type: string x-schema: $ref: '#/definitions/SortDirection' + style: form x-schema: $ref: '#/definitions/SortDirection' - description: The number of records to return (Max value = 100) + explode: true in: query name: Take + required: false schema: default: 100 format: int32 @@ -6620,24 +7026,33 @@ paths: minimum: 0.0 nullable: false type: integer + style: form - description: The start of a custom period (can't be used together with the PresetPeriod parameter) + explode: true in: query name: Start + required: false schema: format: date-time nullable: true type: string + style: form - description: The end of a custom period + explode: true in: query name: End + required: false schema: format: date-time nullable: true type: string + style: form - description: The requested time period. + explode: true in: query name: PresetPeriod + required: false schema: default: Last24Hours enum: @@ -6665,6 +7080,7 @@ paths: type: string x-schema: $ref: '#/definitions/PresetPeriodType' + style: form x-schema: $ref: '#/definitions/PresetPeriodType' responses: @@ -6697,6 +7113,7 @@ paths: operationId: MonitorCheck_GetHttpDetails parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6704,6 +7121,7 @@ paths: format: int64 nullable: false type: integer + style: simple responses: "200": content: @@ -6734,6 +7152,7 @@ paths: operationId: MonitorCheck_GetMultistepDetails parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6741,6 +7160,7 @@ paths: format: int64 nullable: false type: integer + style: simple responses: "200": content: @@ -6771,6 +7191,7 @@ paths: operationId: MonitorCheck_GetTransactionDetails parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6778,6 +7199,7 @@ paths: format: int64 nullable: false type: integer + style: simple responses: "200": content: @@ -6808,6 +7230,7 @@ paths: operationId: MonitorCheck_GetWaterfallInfo parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6815,14 +7238,18 @@ paths: format: int64 nullable: false type: integer + style: simple - description: 'For transaction waterfalls only: the transaction step to get the waterfall for.' + explode: true in: query name: step + required: false schema: format: int32 nullable: true type: integer + style: form responses: "200": content: @@ -6853,6 +7280,7 @@ paths: operationId: MonitorCheck_GetPageSourceInfo parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6860,14 +7288,18 @@ paths: format: int64 nullable: false type: integer + style: simple - description: 'For transactions only: the transaction step to get the page source for.' + explode: true in: query name: step + required: false schema: format: int32 nullable: true type: integer + style: form responses: "200": content: @@ -6898,6 +7330,7 @@ paths: operationId: MonitorCheck_GetConsoleLogInfo parameters: - description: The monitor check Id to get the detailed data for. + explode: false in: path name: monitorCheckId required: true @@ -6905,14 +7338,18 @@ paths: format: int64 nullable: false type: integer + style: simple - description: 'For transactions only: the transaction step to get the console log for.' + explode: true in: query name: step + required: false schema: format: int32 nullable: true type: integer + style: form responses: "200": content: @@ -6943,6 +7380,7 @@ paths: operationId: MonitorCheck_GetScreenshots parameters: - description: The monitor check Id to get the screenshot data for. + explode: false in: path name: monitorCheckId required: true @@ -6950,7 +7388,9 @@ paths: format: int64 nullable: false type: integer + style: simple - description: The screenshot Id of the screenshot to get. + explode: false in: path name: screenshotId required: true @@ -6958,6 +7398,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -6988,6 +7429,7 @@ paths: operationId: MonitorCheck_GetConcurrentMonitorPartialChecks parameters: - description: The monitor check Id to get the partial checks for. + explode: false in: path name: monitorCheckId required: true @@ -6995,6 +7437,7 @@ paths: format: int64 nullable: false type: integer + style: simple responses: "200": content: @@ -7026,11 +7469,14 @@ paths: parameters: - description: Provide the option to only retrieve the requested fields. E.g. "Name,IsActive". + explode: true in: query name: filter + required: false schema: nullable: true type: string + style: form responses: "200": content: @@ -7113,6 +7559,7 @@ paths: parameters: - description: The Guid of the requested monitor group to retrieve the monitors of. + explode: false in: path name: monitorGroupGuid required: true @@ -7120,13 +7567,17 @@ paths: format: guid nullable: false type: string + style: simple - description: Provide the option to only retrieve the requested fields. E.g. "Name,IsActive". + explode: true in: query name: filter + required: false schema: nullable: true type: string + style: form responses: "200": content: @@ -7171,6 +7622,7 @@ paths: operationId: Monitor_DeleteMonitor parameters: - description: The guid of the monitor you want to delete. + explode: false in: path name: monitorGuid required: true @@ -7178,6 +7630,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -7210,6 +7663,7 @@ paths: operationId: Monitor_GetMonitor parameters: - description: The Guid of the requested monitor. + explode: false in: path name: monitorGuid required: true @@ -7217,13 +7671,17 @@ paths: format: guid nullable: false type: string + style: simple - description: Provide the option to only retrieve the requested fields. E.g. "Name,IsActive". + explode: true in: query name: filter + required: false schema: nullable: true type: string + style: form responses: "200": content: @@ -7266,6 +7724,7 @@ paths: operationId: Monitor_PatchMonitor parameters: - description: The Guid of the monitor that should be updated. + explode: false in: path name: monitorGuid required: true @@ -7273,6 +7732,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -7320,6 +7780,7 @@ paths: operationId: Monitor_PutMonitor parameters: - description: The Guid of the monitor that should be updated. + explode: false in: path name: monitorGuid required: true @@ -7327,6 +7788,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -7371,6 +7833,7 @@ paths: operationId: Monitor_GetMonitorGroups parameters: - description: The Guid of the requested monitor. + explode: false in: path name: monitorGuid required: true @@ -7378,6 +7841,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -7421,6 +7885,7 @@ paths: operationId: Monitor_CloneMonitor parameters: - description: The guid of the monitor you want to clone. + explode: false in: path name: monitorGuid required: true @@ -7428,22 +7893,29 @@ paths: format: guid nullable: false type: string + style: simple - description: Whether or not to also copy the maintenance periods into the clone. + explode: true in: query name: includeMaintenancePeriods + required: false schema: default: true nullable: false type: boolean + style: form - description: Whether or not to also copy the monitor group memberships into the clone. + explode: true in: query name: includeMonitorGroups + required: false schema: default: true nullable: false type: boolean + style: form responses: "201": content: @@ -7484,6 +7956,7 @@ paths: parameters: - description: The guid of the monitor you want to find the maintenance periods of. + explode: false in: path name: monitorGuid required: true @@ -7491,6 +7964,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -7532,13 +8006,15 @@ paths: post: operationId: Monitor_CreateMaintenancePeriodForMonitor parameters: - - in: path + - explode: false + in: path name: monitorGuid required: true schema: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -7587,20 +8063,24 @@ paths: delete: operationId: Monitor_DeleteMaintenancePeriodFromMonitor parameters: - - in: path + - explode: false + in: path name: monitorGuid required: true schema: format: guid nullable: false type: string - - in: path + style: simple + - explode: false + in: path name: maintenancePeriodId required: true schema: format: int32 nullable: false type: integer + style: simple responses: "204": content: {} @@ -7632,20 +8112,24 @@ paths: put: operationId: Monitor_UpdateMaintenancePeriodForMonitor parameters: - - in: path + - explode: false + in: path name: monitorGuid required: true schema: format: guid nullable: false type: string - - in: path + style: simple + - explode: false + in: path name: maintenancePeriodId required: true schema: format: int32 nullable: false type: integer + style: simple requestBody: content: application/json: @@ -7688,14 +8172,17 @@ paths: post: operationId: Monitor_CleanupMaintenancePeriods parameters: - - in: path + - explode: false + in: path name: monitorGuid required: true schema: format: guid nullable: false type: string + style: simple - description: A string representing the date, formatted as "yyyy-MM-dd" + explode: false in: path name: beforeDate required: true @@ -7703,6 +8190,7 @@ paths: format: date-time nullable: false type: string + style: simple responses: "204": content: {} @@ -7831,6 +8319,7 @@ paths: operationId: Vault_DeleteVaultItem parameters: - description: The Guid of the vault item that should be deleted. + explode: false in: path name: vaultItemGuid required: true @@ -7838,6 +8327,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -7870,6 +8360,7 @@ paths: operationId: Vault_GetVaultItem parameters: - description: The Guid of the requested vault item. + explode: false in: path name: vaultItemGuid required: true @@ -7877,6 +8368,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -7916,6 +8408,7 @@ paths: operationId: Vault_PartiallyUpdateVaultItem parameters: - description: The Guid of the vault item that should be updated. + explode: false in: path name: vaultItemGuid required: true @@ -7923,6 +8416,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -7968,6 +8462,7 @@ paths: operationId: Vault_UpdateVaultItem parameters: - description: The Guid of the vault item that should be updated. + explode: false in: path name: vaultItemGuid required: true @@ -7975,6 +8470,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -8093,6 +8589,7 @@ paths: operationId: Vault_DeleteVaultSection parameters: - description: The Guid of the vault section that should be deleted. + explode: false in: path name: vaultSectionGuid required: true @@ -8100,6 +8597,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -8132,6 +8630,7 @@ paths: operationId: Vault_GetVaultSection parameters: - description: The Guid of the requested vault section. + explode: false in: path name: vaultSectionGuid required: true @@ -8139,6 +8638,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -8177,6 +8677,7 @@ paths: operationId: Vault_UpdateVaultSection parameters: - description: The Guid of the vault section that should be updated. + explode: false in: path name: vaultSectionGuid required: true @@ -8184,6 +8685,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -8227,6 +8729,7 @@ paths: operationId: Vault_GetAuthorizationsForVaultSection parameters: - description: The Guid of the vault section for which to return authorizations. + explode: false in: path name: vaultSectionGuid required: true @@ -8234,6 +8737,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "200": content: @@ -8277,6 +8781,7 @@ paths: operationId: Vault_CreateAuthorizationForVaultSection parameters: - description: The Guid of the vault section for which to create the new authorization. + explode: false in: path name: vaultSectionGuid required: true @@ -8284,6 +8789,7 @@ paths: format: guid nullable: false type: string + style: simple requestBody: content: application/json: @@ -8334,6 +8840,7 @@ paths: parameters: - description: The Guid of the vault section for which the authorization should be deleted. + explode: false in: path name: vaultSectionGuid required: true @@ -8341,7 +8848,9 @@ paths: format: guid nullable: false type: string + style: simple - description: The Guid of the authorization that should be deleted. + explode: false in: path name: authorizationGuid required: true @@ -8349,6 +8858,7 @@ paths: format: guid nullable: false type: string + style: simple responses: "204": content: {} @@ -8669,7 +9179,6 @@ components: type: object type: object SelectedPeriodType: - description: "" enum: - PresetPeriod - SpecificDates @@ -8678,7 +9187,6 @@ components: - PresetPeriod - SpecificDates PresetPeriodType: - description: "" enum: - CurrentDay - CurrentWeek @@ -8806,7 +9314,6 @@ components: - SortRowsProperty type: object SortOrderEnum: - description: "" enum: - Alphabetical - ByStatus @@ -8835,7 +9342,6 @@ components: - AuthorizationType type: object PSPAuthorizationType: - description: "" enum: - ViewPublicDashboard type: string @@ -8890,7 +9396,6 @@ components: $ref: '#/components/schemas/Recipients' type: object ScheduledReportFileType: - description: "" enum: - PDF - Excel @@ -8917,7 +9422,6 @@ components: type: integer type: object ScheduleType: - description: "" enum: - Daily - Weekly @@ -8928,7 +9432,6 @@ components: - Weekly - Monthly DayOfWeek: - description: "" enum: - Sunday - Monday @@ -8947,7 +9450,6 @@ components: - Friday - Saturday PresetPeriodTypeWithExclusive: - description: "" enum: - CurrentDay - CurrentWeek @@ -9647,7 +10149,6 @@ components: - Timestamp type: object AlertType: - description: "" enum: - Ok - Error @@ -9669,7 +10170,6 @@ components: type: string type: object SortDirection: - description: "" enum: - Ascending - Descending @@ -9726,7 +10226,6 @@ components: - Type type: object IntegrationTypeEnum: - description: "" enum: - Slack - PagerDuty @@ -9923,7 +10422,6 @@ components: - UptimePercentage type: object LastErrorLevel: - description: "" enum: - NoError - Unconfirmed @@ -10141,7 +10639,6 @@ components: type: string type: object EscalationMode: - description: "" enum: - AlertOnErrorCount - AlertOnErrorDuration @@ -10683,7 +11180,6 @@ components: type: array type: object CapabilityFilterEnum: - description: "" enum: - IPv6 - NativeIPv6 @@ -10829,7 +11325,6 @@ components: - ScheduleMode type: object ScheduleMode: - description: "" enum: - OneTime - Daily @@ -10842,7 +11337,6 @@ components: - Weekly - Monthly MaintenanceTypes: - description: "" enum: - DisableMonitoring - DisableNotifications @@ -10955,7 +11449,6 @@ components: type: string type: object SmsProvider: - description: "" enum: - UseAccountSetting - SmsProviderEurope @@ -10981,7 +11474,6 @@ components: - OperatorGroupGuid type: object OperatorAuthorizationType: - description: "" enum: - AccountAccess type: string @@ -11039,7 +11531,6 @@ components: - ScheduleMode type: object OperatorScheduleMode: - description: "" enum: - OneTime - Daily @@ -11150,7 +11641,6 @@ components: - AuthorizationType type: object OperatorGroupAuthorizationType: - description: "" enum: - ShareDashboards - AllowInfra @@ -11460,7 +11950,6 @@ components: - TotalTime type: object ErrorLevel: - description: "" enum: - NoError - Unconfirmed @@ -11471,7 +11960,6 @@ components: - Unconfirmed - Confirmed ErrorLevelFilter: - description: "" enum: - NoError - Unconfirmed @@ -13151,7 +13639,6 @@ components: type: integer type: object MonitorMode: - description: "" enum: - Development - Staging @@ -13272,7 +13759,6 @@ components: - UseFixedClientCertificate type: object MsaBodyType: - description: "" enum: - Raw - VaultFiles @@ -13312,7 +13798,6 @@ components: - Source type: object ApiVariableSourceType: - description: "" enum: - None - Constant @@ -13380,7 +13865,6 @@ components: - Source type: object ApiAssertionSourceType: - description: "" enum: - None - Constant @@ -13429,7 +13913,6 @@ components: - CumulativeDuration - ResponseHasException ApiComparisonType: - description: "" enum: - Equal - DoesNotEqual @@ -13477,7 +13960,6 @@ components: - PasswordSpecified type: object ApiHttpAuthenticationType: - description: "" enum: - None - Basic @@ -13490,7 +13972,6 @@ components: - NTLM - Digest MsaStepType: - description: "" enum: - HttpRequest - Delay @@ -13532,7 +14013,6 @@ components: - Type type: object UserDefinedFunctionType: - description: "" enum: - Mapping - Regex @@ -13555,7 +14035,6 @@ components: type: string type: object JwtAlgorithm: - description: "" enum: - HS256 - HS384 @@ -13611,7 +14090,6 @@ components: type: array type: object MonitorType: - description: "" enum: - Http - Https @@ -13684,7 +14162,6 @@ components: type: integer type: object ThrottlingType: - description: "" enum: - Inactive - Browser @@ -13695,7 +14172,6 @@ components: - Browser - Simulated ThrottlingValue: - description: "" enum: - Adsl - Fiber @@ -13748,7 +14224,6 @@ components: - Type type: object SubStepType: - description: "" enum: - Navigate - Click @@ -13775,7 +14250,6 @@ components: - SwitchToFrame - SwitchToTab DnsQuery: - description: "" enum: - ARecord - CnameRecord @@ -13798,7 +14272,6 @@ components: - AaaaRecord - SrvRecord IpVersion: - description: "" enum: - IpV4 - IpV6 @@ -13807,7 +14280,6 @@ components: - IpV4 - IpV6 SftpAction: - description: "" enum: - ConnectOnly - TestFileExists @@ -13820,7 +14292,6 @@ components: - TestFileDoesNotExist - DownLoadFile HttpMethod: - description: "" enum: - Get - Post @@ -13829,7 +14300,6 @@ components: - Get - Post TlsVersion: - description: "" enum: - Tls12 - Tls11 @@ -13880,7 +14350,6 @@ components: - OffsetUTC type: object BrowserType: - description: "" enum: - IE - Firefox @@ -13952,7 +14421,6 @@ components: - status type: object RegisterStatus: - description: "" enum: - OK - UnexpectedError @@ -14024,7 +14492,6 @@ components: type: object type: object VaultItemTypes: - description: "" enum: - CredentialSet - Certificate @@ -14115,7 +14582,6 @@ components: - AuthorizationType type: object VaultSectionAuthorizationType: - description: "" enum: - ViewVaultSection - ChangeVaultSection diff --git a/api_account.go b/api_account.go index 8d651e1..b9c5195 100644 --- a/api_account.go +++ b/api_account.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -37,10 +37,11 @@ func (r ApiAccountGetAccountStatisticsRequest) Execute() (AccountStatistics, *_n } /* - * AccountGetAccountStatistics Returns the account statistics. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiAccountGetAccountStatisticsRequest - */ +AccountGetAccountStatistics Returns the account statistics. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAccountGetAccountStatisticsRequest +*/ func (a *AccountApiService) AccountGetAccountStatistics(ctx _context.Context) ApiAccountGetAccountStatisticsRequest { return ApiAccountGetAccountStatisticsRequest{ ApiService: a, @@ -48,10 +49,8 @@ func (a *AccountApiService) AccountGetAccountStatistics(ctx _context.Context) Ap } } -/* - * Execute executes the request - * @return AccountStatistics - */ +// Execute executes the request +// @return AccountStatistics func (a *AccountApiService) AccountGetAccountStatisticsExecute(r ApiAccountGetAccountStatisticsRequest) (AccountStatistics, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_alert.go b/api_alert.go index 3c1a9ba..59363ae 100644 --- a/api_alert.go +++ b/api_alert.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,30 +41,37 @@ type ApiAlertGetMonitorAlertsRequest struct { presetPeriod *string } +// When true reminder alerts will be included in the results func (r ApiAlertGetMonitorAlertsRequest) IncludeReminders(includeReminders bool) ApiAlertGetMonitorAlertsRequest { r.includeReminders = &includeReminders return r } +// A cursor value that should be used for traversing the dataset. func (r ApiAlertGetMonitorAlertsRequest) Cursor(cursor string) ApiAlertGetMonitorAlertsRequest { r.cursor = &cursor return r } +// Sorting direction based on timestamp. func (r ApiAlertGetMonitorAlertsRequest) Sorting(sorting string) ApiAlertGetMonitorAlertsRequest { r.sorting = &sorting return r } +// The number of records to return (Max value = 100) func (r ApiAlertGetMonitorAlertsRequest) Take(take int32) ApiAlertGetMonitorAlertsRequest { r.take = &take return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiAlertGetMonitorAlertsRequest) Start(start time.Time) ApiAlertGetMonitorAlertsRequest { r.start = &start return r } +// The end of a custom period func (r ApiAlertGetMonitorAlertsRequest) End(end time.Time) ApiAlertGetMonitorAlertsRequest { r.end = &end return r } +// The requested time period. func (r ApiAlertGetMonitorAlertsRequest) PresetPeriod(presetPeriod string) ApiAlertGetMonitorAlertsRequest { r.presetPeriod = &presetPeriod return r @@ -75,11 +82,12 @@ func (r ApiAlertGetMonitorAlertsRequest) Execute() (AlertResponse, *_nethttp.Res } /* - * AlertGetMonitorAlerts Returns alerts for a specific monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor to get alerts for. - * @return ApiAlertGetMonitorAlertsRequest - */ +AlertGetMonitorAlerts Returns alerts for a specific monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor to get alerts for. + @return ApiAlertGetMonitorAlertsRequest +*/ func (a *AlertApiService) AlertGetMonitorAlerts(ctx _context.Context, monitorGuid string) ApiAlertGetMonitorAlertsRequest { return ApiAlertGetMonitorAlertsRequest{ ApiService: a, @@ -88,10 +96,8 @@ func (a *AlertApiService) AlertGetMonitorAlerts(ctx _context.Context, monitorGui } } -/* - * Execute executes the request - * @return AlertResponse - */ +// Execute executes the request +// @return AlertResponse func (a *AlertApiService) AlertGetMonitorAlertsExecute(r ApiAlertGetMonitorAlertsRequest) (AlertResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -221,30 +227,37 @@ type ApiAlertGetMonitorGroupAlertsRequest struct { presetPeriod *string } +// When true reminder alerts will be included in the results func (r ApiAlertGetMonitorGroupAlertsRequest) IncludeReminders(includeReminders bool) ApiAlertGetMonitorGroupAlertsRequest { r.includeReminders = &includeReminders return r } +// A cursor value that should be used for traversing the dataset. func (r ApiAlertGetMonitorGroupAlertsRequest) Cursor(cursor string) ApiAlertGetMonitorGroupAlertsRequest { r.cursor = &cursor return r } +// Sorting direction based on timestamp. func (r ApiAlertGetMonitorGroupAlertsRequest) Sorting(sorting string) ApiAlertGetMonitorGroupAlertsRequest { r.sorting = &sorting return r } +// The number of records to return (Max value = 100) func (r ApiAlertGetMonitorGroupAlertsRequest) Take(take int32) ApiAlertGetMonitorGroupAlertsRequest { r.take = &take return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiAlertGetMonitorGroupAlertsRequest) Start(start time.Time) ApiAlertGetMonitorGroupAlertsRequest { r.start = &start return r } +// The end of a custom period func (r ApiAlertGetMonitorGroupAlertsRequest) End(end time.Time) ApiAlertGetMonitorGroupAlertsRequest { r.end = &end return r } +// The requested time period. func (r ApiAlertGetMonitorGroupAlertsRequest) PresetPeriod(presetPeriod string) ApiAlertGetMonitorGroupAlertsRequest { r.presetPeriod = &presetPeriod return r @@ -255,11 +268,12 @@ func (r ApiAlertGetMonitorGroupAlertsRequest) Execute() (AlertResponse, *_nethtt } /* - * AlertGetMonitorGroupAlerts Returns alerts for a specific monitor group. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to get alerts for. - * @return ApiAlertGetMonitorGroupAlertsRequest - */ +AlertGetMonitorGroupAlerts Returns alerts for a specific monitor group. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to get alerts for. + @return ApiAlertGetMonitorGroupAlertsRequest +*/ func (a *AlertApiService) AlertGetMonitorGroupAlerts(ctx _context.Context, monitorGroupGuid string) ApiAlertGetMonitorGroupAlertsRequest { return ApiAlertGetMonitorGroupAlertsRequest{ ApiService: a, @@ -268,10 +282,8 @@ func (a *AlertApiService) AlertGetMonitorGroupAlerts(ctx _context.Context, monit } } -/* - * Execute executes the request - * @return AlertResponse - */ +// Execute executes the request +// @return AlertResponse func (a *AlertApiService) AlertGetMonitorGroupAlertsExecute(r ApiAlertGetMonitorGroupAlertsRequest) (AlertResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_alert_definition.go b/api_alert_definition.go index 0cede4c..b15a78a 100644 --- a/api_alert_definition.go +++ b/api_alert_definition.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -35,6 +35,7 @@ type ApiAlertDefinitionAddIntegrationToEscalationLevelRequest struct { escalationLevelIntegration *EscalationLevelIntegration } +// The integration to add. func (r ApiAlertDefinitionAddIntegrationToEscalationLevelRequest) EscalationLevelIntegration(escalationLevelIntegration EscalationLevelIntegration) ApiAlertDefinitionAddIntegrationToEscalationLevelRequest { r.escalationLevelIntegration = &escalationLevelIntegration return r @@ -45,12 +46,13 @@ func (r ApiAlertDefinitionAddIntegrationToEscalationLevelRequest) Execute() (Ale } /* - * AlertDefinitionAddIntegrationToEscalationLevel Adds an integration to a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @return ApiAlertDefinitionAddIntegrationToEscalationLevelRequest - */ +AlertDefinitionAddIntegrationToEscalationLevel Adds an integration to a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @return ApiAlertDefinitionAddIntegrationToEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionAddIntegrationToEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionAddIntegrationToEscalationLevelRequest { return ApiAlertDefinitionAddIntegrationToEscalationLevelRequest{ ApiService: a, @@ -60,10 +62,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionAddIntegrationToEscalationLev } } -/* - * Execute executes the request - * @return AlertDefinitionMonitorGroup - */ +// Execute executes the request +// @return AlertDefinitionMonitorGroup func (a *AlertDefinitionApiService) AlertDefinitionAddIntegrationToEscalationLevelExecute(r ApiAlertDefinitionAddIntegrationToEscalationLevelRequest) (AlertDefinitionMonitorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -188,12 +188,13 @@ func (r ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest) Execute() (Al } /* - * AlertDefinitionAddMonitorGroupToAlertDefinition Adds a monitor group to the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition to modify. - * @param monitorGroupGuid The Guid of the monitor group to add. - * @return ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest - */ +AlertDefinitionAddMonitorGroupToAlertDefinition Adds a monitor group to the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition to modify. + @param monitorGroupGuid The Guid of the monitor group to add. + @return ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorGroupToAlertDefinition(ctx _context.Context, alertDefinitionGuid string, monitorGroupGuid string) ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest { return ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest{ ApiService: a, @@ -203,10 +204,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorGroupToAlertDefinit } } -/* - * Execute executes the request - * @return AlertDefinitionMonitorGroup - */ +// Execute executes the request +// @return AlertDefinitionMonitorGroup func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorGroupToAlertDefinitionExecute(r ApiAlertDefinitionAddMonitorGroupToAlertDefinitionRequest) (AlertDefinitionMonitorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -326,12 +325,13 @@ func (r ApiAlertDefinitionAddMonitorToAlertDefinitionRequest) Execute() (AlertDe } /* - * AlertDefinitionAddMonitorToAlertDefinition Adds a monitor to the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition to modify. - * @param monitorGuid The Guid of the monitor to add. - * @return ApiAlertDefinitionAddMonitorToAlertDefinitionRequest - */ +AlertDefinitionAddMonitorToAlertDefinition Adds a monitor to the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition to modify. + @param monitorGuid The Guid of the monitor to add. + @return ApiAlertDefinitionAddMonitorToAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorToAlertDefinition(ctx _context.Context, alertDefinitionGuid string, monitorGuid string) ApiAlertDefinitionAddMonitorToAlertDefinitionRequest { return ApiAlertDefinitionAddMonitorToAlertDefinitionRequest{ ApiService: a, @@ -341,10 +341,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorToAlertDefinition(c } } -/* - * Execute executes the request - * @return AlertDefinitionMonitor - */ +// Execute executes the request +// @return AlertDefinitionMonitor func (a *AlertDefinitionApiService) AlertDefinitionAddMonitorToAlertDefinitionExecute(r ApiAlertDefinitionAddMonitorToAlertDefinitionRequest) (AlertDefinitionMonitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -465,13 +463,14 @@ func (r ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest) Execute() (A } /* - * AlertDefinitionAddOperatorGroupToEscalationLevel Adds an operator group to the specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param operatorGroupGuid The Guid of the operator group to add. - * @return ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest - */ +AlertDefinitionAddOperatorGroupToEscalationLevel Adds an operator group to the specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param operatorGroupGuid The Guid of the operator group to add. + @return ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorGroupToEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, operatorGroupGuid string) ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest { return ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest{ ApiService: a, @@ -482,10 +481,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorGroupToEscalationL } } -/* - * Execute executes the request - * @return AlertDefinitionOperatorGroup - */ +// Execute executes the request +// @return AlertDefinitionOperatorGroup func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorGroupToEscalationLevelExecute(r ApiAlertDefinitionAddOperatorGroupToEscalationLevelRequest) (AlertDefinitionOperatorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -607,13 +604,14 @@ func (r ApiAlertDefinitionAddOperatorToEscalationLevelRequest) Execute() (AlertD } /* - * AlertDefinitionAddOperatorToEscalationLevel Adds an operator to the specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param operatorGuid The Guid of the operator to add. - * @return ApiAlertDefinitionAddOperatorToEscalationLevelRequest - */ +AlertDefinitionAddOperatorToEscalationLevel Adds an operator to the specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param operatorGuid The Guid of the operator to add. + @return ApiAlertDefinitionAddOperatorToEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorToEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, operatorGuid string) ApiAlertDefinitionAddOperatorToEscalationLevelRequest { return ApiAlertDefinitionAddOperatorToEscalationLevelRequest{ ApiService: a, @@ -624,10 +622,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorToEscalationLevel( } } -/* - * Execute executes the request - * @return AlertDefinitionOperator - */ +// Execute executes the request +// @return AlertDefinitionOperator func (a *AlertDefinitionApiService) AlertDefinitionAddOperatorToEscalationLevelExecute(r ApiAlertDefinitionAddOperatorToEscalationLevelRequest) (AlertDefinitionOperator, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -741,6 +737,7 @@ type ApiAlertDefinitionCreateAlertDefinitionRequest struct { alertDefinition *AlertDefinition } +// The details of the alert definition to create. func (r ApiAlertDefinitionCreateAlertDefinitionRequest) AlertDefinition(alertDefinition AlertDefinition) ApiAlertDefinitionCreateAlertDefinitionRequest { r.alertDefinition = &alertDefinition return r @@ -751,10 +748,11 @@ func (r ApiAlertDefinitionCreateAlertDefinitionRequest) Execute() (AlertDefiniti } /* - * AlertDefinitionCreateAlertDefinition Creates a new alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiAlertDefinitionCreateAlertDefinitionRequest - */ +AlertDefinitionCreateAlertDefinition Creates a new alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAlertDefinitionCreateAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionCreateAlertDefinition(ctx _context.Context) ApiAlertDefinitionCreateAlertDefinitionRequest { return ApiAlertDefinitionCreateAlertDefinitionRequest{ ApiService: a, @@ -762,10 +760,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionCreateAlertDefinition(ctx _co } } -/* - * Execute executes the request - * @return AlertDefinition - */ +// Execute executes the request +// @return AlertDefinition func (a *AlertDefinitionApiService) AlertDefinitionCreateAlertDefinitionExecute(r ApiAlertDefinitionCreateAlertDefinitionRequest) (AlertDefinition, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -877,11 +873,12 @@ func (r ApiAlertDefinitionDeleteAlertDefinitionRequest) Execute() (*_nethttp.Res } /* - * AlertDefinitionDeleteAlertDefinition Deletes an existing alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition to remove. - * @return ApiAlertDefinitionDeleteAlertDefinitionRequest - */ +AlertDefinitionDeleteAlertDefinition Deletes an existing alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition to remove. + @return ApiAlertDefinitionDeleteAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionDeleteAlertDefinition(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionDeleteAlertDefinitionRequest { return ApiAlertDefinitionDeleteAlertDefinitionRequest{ ApiService: a, @@ -890,9 +887,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionDeleteAlertDefinition(ctx _co } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionDeleteAlertDefinitionExecute(r ApiAlertDefinitionDeleteAlertDefinitionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -999,10 +994,11 @@ func (r ApiAlertDefinitionGetAllAlertDefinitionsRequest) Execute() ([]AlertDefin } /* - * AlertDefinitionGetAllAlertDefinitions Gets a list of all alert definitions. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiAlertDefinitionGetAllAlertDefinitionsRequest - */ +AlertDefinitionGetAllAlertDefinitions Gets a list of all alert definitions. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAlertDefinitionGetAllAlertDefinitionsRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetAllAlertDefinitions(ctx _context.Context) ApiAlertDefinitionGetAllAlertDefinitionsRequest { return ApiAlertDefinitionGetAllAlertDefinitionsRequest{ ApiService: a, @@ -1010,10 +1006,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetAllAlertDefinitions(ctx _c } } -/* - * Execute executes the request - * @return []AlertDefinition - */ +// Execute executes the request +// @return []AlertDefinition func (a *AlertDefinitionApiService) AlertDefinitionGetAllAlertDefinitionsExecute(r ApiAlertDefinitionGetAllAlertDefinitionsRequest) ([]AlertDefinition, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1121,12 +1115,13 @@ func (r ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest) Execute() ([ } /* - * AlertDefinitionGetAllEscalationLevelIntegrations Gets all integrations for a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @return ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest - */ +AlertDefinitionGetAllEscalationLevelIntegrations Gets all integrations for a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @return ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevelIntegrations(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest { return ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest{ ApiService: a, @@ -1136,10 +1131,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevelIntegrat } } -/* - * Execute executes the request - * @return []Integration - */ +// Execute executes the request +// @return []Integration func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevelIntegrationsExecute(r ApiAlertDefinitionGetAllEscalationLevelIntegrationsRequest) ([]Integration, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1258,11 +1251,12 @@ func (r ApiAlertDefinitionGetAllEscalationLevelsRequest) Execute() ([]Escalation } /* - * AlertDefinitionGetAllEscalationLevels Gets all escalation level information for the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition for which to return all escalation levels. - * @return ApiAlertDefinitionGetAllEscalationLevelsRequest - */ +AlertDefinitionGetAllEscalationLevels Gets all escalation level information for the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition for which to return all escalation levels. + @return ApiAlertDefinitionGetAllEscalationLevelsRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevels(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionGetAllEscalationLevelsRequest { return ApiAlertDefinitionGetAllEscalationLevelsRequest{ ApiService: a, @@ -1271,10 +1265,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevels(ctx _c } } -/* - * Execute executes the request - * @return []EscalationLevel - */ +// Execute executes the request +// @return []EscalationLevel func (a *AlertDefinitionApiService) AlertDefinitionGetAllEscalationLevelsExecute(r ApiAlertDefinitionGetAllEscalationLevelsRequest) ([]EscalationLevel, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1392,11 +1384,12 @@ func (r ApiAlertDefinitionGetAllMembersRequest) Execute() ([]AlertDefinitionMemb } /* - * AlertDefinitionGetAllMembers Gets a list of all monitor and monitor group guids for the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition for which to return the members. - * @return ApiAlertDefinitionGetAllMembersRequest - */ +AlertDefinitionGetAllMembers Gets a list of all monitor and monitor group guids for the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition for which to return the members. + @return ApiAlertDefinitionGetAllMembersRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetAllMembers(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionGetAllMembersRequest { return ApiAlertDefinitionGetAllMembersRequest{ ApiService: a, @@ -1405,10 +1398,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetAllMembers(ctx _context.Co } } -/* - * Execute executes the request - * @return []AlertDefinitionMember - */ +// Execute executes the request +// @return []AlertDefinitionMember func (a *AlertDefinitionApiService) AlertDefinitionGetAllMembersExecute(r ApiAlertDefinitionGetAllMembersRequest) ([]AlertDefinitionMember, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1527,12 +1518,13 @@ func (r ApiAlertDefinitionGetEscalationLevelRequest) Execute() (EscalationLevel, } /* - * AlertDefinitionGetEscalationLevel Gets the escalation level information of the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @return ApiAlertDefinitionGetEscalationLevelRequest - */ +AlertDefinitionGetEscalationLevel Gets the escalation level information of the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @return ApiAlertDefinitionGetEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionGetEscalationLevelRequest { return ApiAlertDefinitionGetEscalationLevelRequest{ ApiService: a, @@ -1542,10 +1534,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevel(ctx _conte } } -/* - * Execute executes the request - * @return EscalationLevel - */ +// Execute executes the request +// @return EscalationLevel func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelExecute(r ApiAlertDefinitionGetEscalationLevelRequest) (EscalationLevel, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1666,13 +1656,14 @@ func (r ApiAlertDefinitionGetEscalationLevelIntegrationRequest) Execute() (Integ } /* - * AlertDefinitionGetEscalationLevelIntegration Gets a single integration for a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param integrationGuid The Guid of the integration. - * @return ApiAlertDefinitionGetEscalationLevelIntegrationRequest - */ +AlertDefinitionGetEscalationLevelIntegration Gets a single integration for a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param integrationGuid The Guid of the integration. + @return ApiAlertDefinitionGetEscalationLevelIntegrationRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelIntegration(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, integrationGuid string) ApiAlertDefinitionGetEscalationLevelIntegrationRequest { return ApiAlertDefinitionGetEscalationLevelIntegrationRequest{ ApiService: a, @@ -1683,10 +1674,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelIntegration } } -/* - * Execute executes the request - * @return Integration - */ +// Execute executes the request +// @return Integration func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelIntegrationExecute(r ApiAlertDefinitionGetEscalationLevelIntegrationRequest) (Integration, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1807,12 +1796,13 @@ func (r ApiAlertDefinitionGetEscalationLevelOperatorRequest) Execute() ([]AlertE } /* - * AlertDefinitionGetEscalationLevelOperator Gets the operator and operator group guids for the specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @return ApiAlertDefinitionGetEscalationLevelOperatorRequest - */ +AlertDefinitionGetEscalationLevelOperator Gets the operator and operator group guids for the specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @return ApiAlertDefinitionGetEscalationLevelOperatorRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelOperator(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionGetEscalationLevelOperatorRequest { return ApiAlertDefinitionGetEscalationLevelOperatorRequest{ ApiService: a, @@ -1822,10 +1812,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelOperator(ct } } -/* - * Execute executes the request - * @return []AlertEscalationLevelMember - */ +// Execute executes the request +// @return []AlertEscalationLevelMember func (a *AlertDefinitionApiService) AlertDefinitionGetEscalationLevelOperatorExecute(r ApiAlertDefinitionGetEscalationLevelOperatorRequest) ([]AlertEscalationLevelMember, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1944,11 +1932,12 @@ func (r ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest) Execute() (AlertD } /* - * AlertDefinitionGetSpecifiedAlertDefinitions Gets the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @return ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest - */ +AlertDefinitionGetSpecifiedAlertDefinitions Gets the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @return ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionGetSpecifiedAlertDefinitions(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest { return ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest{ ApiService: a, @@ -1957,10 +1946,8 @@ func (a *AlertDefinitionApiService) AlertDefinitionGetSpecifiedAlertDefinitions( } } -/* - * Execute executes the request - * @return AlertDefinition - */ +// Execute executes the request +// @return AlertDefinition func (a *AlertDefinitionApiService) AlertDefinitionGetSpecifiedAlertDefinitionsExecute(r ApiAlertDefinitionGetSpecifiedAlertDefinitionsRequest) (AlertDefinition, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -2063,6 +2050,7 @@ type ApiAlertDefinitionPatchAlertDefinitionRequest struct { alertDefinition *AlertDefinition } +// The partial definition for the alert definition that should be updated. func (r ApiAlertDefinitionPatchAlertDefinitionRequest) AlertDefinition(alertDefinition AlertDefinition) ApiAlertDefinitionPatchAlertDefinitionRequest { r.alertDefinition = &alertDefinition return r @@ -2073,12 +2061,14 @@ func (r ApiAlertDefinitionPatchAlertDefinitionRequest) Execute() (*_nethttp.Resp } /* - * AlertDefinitionPatchAlertDefinition Partially updates the definition for the specified alert definition. - * This methods accepts parts of an alert definition. Fields that do not require changes can be omitted. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition that should be updated. - * @return ApiAlertDefinitionPatchAlertDefinitionRequest - */ +AlertDefinitionPatchAlertDefinition Partially updates the definition for the specified alert definition. + +This methods accepts parts of an alert definition. Fields that do not require changes can be omitted. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition that should be updated. + @return ApiAlertDefinitionPatchAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinition(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionPatchAlertDefinitionRequest { return ApiAlertDefinitionPatchAlertDefinitionRequest{ ApiService: a, @@ -2087,9 +2077,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinition(ctx _con } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinitionExecute(r ApiAlertDefinitionPatchAlertDefinitionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -2198,6 +2186,7 @@ type ApiAlertDefinitionPatchAlertDefinitionEscalationRequest struct { escalationLevel *EscalationLevel } +// The escalation level for the alert definition that should be updated. func (r ApiAlertDefinitionPatchAlertDefinitionEscalationRequest) EscalationLevel(escalationLevel EscalationLevel) ApiAlertDefinitionPatchAlertDefinitionEscalationRequest { r.escalationLevel = &escalationLevel return r @@ -2208,13 +2197,15 @@ func (r ApiAlertDefinitionPatchAlertDefinitionEscalationRequest) Execute() (*_ne } /* - * AlertDefinitionPatchAlertDefinitionEscalation Partially updates the escalation level for the specified alert definition. - * This methods only accepts a complete alert definition where all fields are specified. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition that should be updated. - * @param escalationLevelId The level number of the escalation that should be updated. - * @return ApiAlertDefinitionPatchAlertDefinitionEscalationRequest - */ +AlertDefinitionPatchAlertDefinitionEscalation Partially updates the escalation level for the specified alert definition. + +This methods only accepts a complete alert definition where all fields are specified. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition that should be updated. + @param escalationLevelId The level number of the escalation that should be updated. + @return ApiAlertDefinitionPatchAlertDefinitionEscalationRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinitionEscalation(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionPatchAlertDefinitionEscalationRequest { return ApiAlertDefinitionPatchAlertDefinitionEscalationRequest{ ApiService: a, @@ -2224,9 +2215,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinitionEscalatio } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionPatchAlertDefinitionEscalationExecute(r ApiAlertDefinitionPatchAlertDefinitionEscalationRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -2335,6 +2324,7 @@ type ApiAlertDefinitionPutAlertDefinitionRequest struct { alertDefinition *AlertDefinition } +// The partial definition for the alert definition that should be updated. func (r ApiAlertDefinitionPutAlertDefinitionRequest) AlertDefinition(alertDefinition AlertDefinition) ApiAlertDefinitionPutAlertDefinitionRequest { r.alertDefinition = &alertDefinition return r @@ -2345,12 +2335,14 @@ func (r ApiAlertDefinitionPutAlertDefinitionRequest) Execute() (*_nethttp.Respon } /* - * AlertDefinitionPutAlertDefinition Updates the definition for the specified alert definition. - * This methods only accepts a complete alert definition where all fields are specified. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition that should be updated. - * @return ApiAlertDefinitionPutAlertDefinitionRequest - */ +AlertDefinitionPutAlertDefinition Updates the definition for the specified alert definition. + +This methods only accepts a complete alert definition where all fields are specified. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition that should be updated. + @return ApiAlertDefinitionPutAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinition(ctx _context.Context, alertDefinitionGuid string) ApiAlertDefinitionPutAlertDefinitionRequest { return ApiAlertDefinitionPutAlertDefinitionRequest{ ApiService: a, @@ -2359,9 +2351,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinition(ctx _conte } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinitionExecute(r ApiAlertDefinitionPutAlertDefinitionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -2470,6 +2460,7 @@ type ApiAlertDefinitionPutAlertDefinitionEscalationRequest struct { escalationLevel *EscalationLevel } +// The escalation level for the alert definition that should be updated. func (r ApiAlertDefinitionPutAlertDefinitionEscalationRequest) EscalationLevel(escalationLevel EscalationLevel) ApiAlertDefinitionPutAlertDefinitionEscalationRequest { r.escalationLevel = &escalationLevel return r @@ -2480,13 +2471,15 @@ func (r ApiAlertDefinitionPutAlertDefinitionEscalationRequest) Execute() (*_neth } /* - * AlertDefinitionPutAlertDefinitionEscalation Updates the escalation level for the specified alert definition. - * This methods only accepts a complete alert definition where all fields are specified. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition that should be updated. - * @param escalationLevelId The level number of the escalation that should be updated. - * @return ApiAlertDefinitionPutAlertDefinitionEscalationRequest - */ +AlertDefinitionPutAlertDefinitionEscalation Updates the escalation level for the specified alert definition. + +This methods only accepts a complete alert definition where all fields are specified. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition that should be updated. + @param escalationLevelId The level number of the escalation that should be updated. + @return ApiAlertDefinitionPutAlertDefinitionEscalationRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinitionEscalation(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32) ApiAlertDefinitionPutAlertDefinitionEscalationRequest { return ApiAlertDefinitionPutAlertDefinitionEscalationRequest{ ApiService: a, @@ -2496,9 +2489,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinitionEscalation( } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionPutAlertDefinitionEscalationExecute(r ApiAlertDefinitionPutAlertDefinitionEscalationRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -2614,13 +2605,14 @@ func (r ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest) Execute() } /* - * AlertDefinitionRemoveIntegrationFromEscalationLevel Removes an integration from a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param integrationGuid The Guid of the integration to remove. - * @return ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest - */ +AlertDefinitionRemoveIntegrationFromEscalationLevel Removes an integration from a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param integrationGuid The Guid of the integration to remove. + @return ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionRemoveIntegrationFromEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, integrationGuid string) ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest { return ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest{ ApiService: a, @@ -2631,9 +2623,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionRemoveIntegrationFromEscalati } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionRemoveIntegrationFromEscalationLevelExecute(r ApiAlertDefinitionRemoveIntegrationFromEscalationLevelRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -2744,12 +2734,13 @@ func (r ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest) Execute() (*_ } /* - * AlertDefinitionRemoveMonitorFromAlertDefinition Removes a monitor for the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition to modify. - * @param monitorGuid The Guid of the monitor to remove. - * @return ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest - */ +AlertDefinitionRemoveMonitorFromAlertDefinition Removes a monitor for the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition to modify. + @param monitorGuid The Guid of the monitor to remove. + @return ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorFromAlertDefinition(ctx _context.Context, alertDefinitionGuid string, monitorGuid string) ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest { return ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest{ ApiService: a, @@ -2759,9 +2750,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorFromAlertDefinit } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorFromAlertDefinitionExecute(r ApiAlertDefinitionRemoveMonitorFromAlertDefinitionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -2871,12 +2860,13 @@ func (r ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest) Execute( } /* - * AlertDefinitionRemoveMonitorGroupFromAlertDefinition Removes a monitor group for the specified alert definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition to modify. - * @param monitorGroupGuid The Guid of the monitor group to remove. - * @return ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest - */ +AlertDefinitionRemoveMonitorGroupFromAlertDefinition Removes a monitor group for the specified alert definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition to modify. + @param monitorGroupGuid The Guid of the monitor group to remove. + @return ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorGroupFromAlertDefinition(ctx _context.Context, alertDefinitionGuid string, monitorGroupGuid string) ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest { return ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest{ ApiService: a, @@ -2886,9 +2876,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorGroupFromAlertDe } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionRemoveMonitorGroupFromAlertDefinitionExecute(r ApiAlertDefinitionRemoveMonitorGroupFromAlertDefinitionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -2999,13 +2987,14 @@ func (r ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest) Execute() (* } /* - * AlertDefinitionRemoveOperatorFromEscalationLevel Removes an operator for the specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param operatorGuid The Guid of the operator to remove. - * @return ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest - */ +AlertDefinitionRemoveOperatorFromEscalationLevel Removes an operator for the specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param operatorGuid The Guid of the operator to remove. + @return ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorFromEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, operatorGuid string) ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest { return ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest{ ApiService: a, @@ -3016,9 +3005,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorFromEscalationL } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorFromEscalationLevelExecute(r ApiAlertDefinitionRemoveOperatorFromEscalationLevelRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -3130,13 +3117,14 @@ func (r ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest) Execute } /* - * AlertDefinitionRemoveOperatorGroupFromEscalationLevel Removes an operator group for the specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param operatorGroupGuid The Guid of the operator group to remove. - * @return ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest - */ +AlertDefinitionRemoveOperatorGroupFromEscalationLevel Removes an operator group for the specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param operatorGroupGuid The Guid of the operator group to remove. + @return ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorGroupFromEscalationLevel(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, operatorGroupGuid string) ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest { return ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest{ ApiService: a, @@ -3147,9 +3135,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorGroupFromEscala } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionRemoveOperatorGroupFromEscalationLevelExecute(r ApiAlertDefinitionRemoveOperatorGroupFromEscalationLevelRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -3256,6 +3242,7 @@ type ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest struct { escalationLevelIntegration *EscalationLevelIntegration } +// The partial definition for the integration that should be updated. func (r ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest) EscalationLevelIntegration(escalationLevelIntegration EscalationLevelIntegration) ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest { r.escalationLevelIntegration = &escalationLevelIntegration return r @@ -3266,13 +3253,14 @@ func (r ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest) Execut } /* - * AlertDefinitionUpdateIntegrationForEscalationWithPatch Partially updates an integration for a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param integrationGuid The Guid of the integration to update. - * @return ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest - */ +AlertDefinitionUpdateIntegrationForEscalationWithPatch Partially updates an integration for a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param integrationGuid The Guid of the integration to update. + @return ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalationWithPatch(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, integrationGuid string) ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest { return ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest{ ApiService: a, @@ -3283,9 +3271,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalatio } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalationWithPatchExecute(r ApiAlertDefinitionUpdateIntegrationForEscalationWithPatchRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -3397,6 +3383,7 @@ type ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest struct { escalationLevelIntegration *EscalationLevelIntegration } +// The definition for the integration that should be updated. func (r ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest) EscalationLevelIntegration(escalationLevelIntegration EscalationLevelIntegration) ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest { r.escalationLevelIntegration = &escalationLevelIntegration return r @@ -3407,13 +3394,14 @@ func (r ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest) Execute( } /* - * AlertDefinitionUpdateIntegrationForEscalationWithPut Updates an integration for a specified escalation level. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param alertDefinitionGuid The Guid of the alert definition. - * @param escalationLevelId The escalation level id. - * @param integrationGuid The Guid of the integration to update. - * @return ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest - */ +AlertDefinitionUpdateIntegrationForEscalationWithPut Updates an integration for a specified escalation level. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param alertDefinitionGuid The Guid of the alert definition. + @param escalationLevelId The escalation level id. + @param integrationGuid The Guid of the integration to update. + @return ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest +*/ func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalationWithPut(ctx _context.Context, alertDefinitionGuid string, escalationLevelId int32, integrationGuid string) ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest { return ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest{ ApiService: a, @@ -3424,9 +3412,7 @@ func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalatio } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *AlertDefinitionApiService) AlertDefinitionUpdateIntegrationForEscalationWithPutExecute(r ApiAlertDefinitionUpdateIntegrationForEscalationWithPutRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_checkpoint.go b/api_checkpoint.go index a662a95..f20d290 100644 --- a/api_checkpoint.go +++ b/api_checkpoint.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -38,10 +38,11 @@ func (r ApiCheckpointGetAllCheckpointsRequest) Execute() (CheckpointListResponse } /* - * CheckpointGetAllCheckpoints Returns all the checkpoints. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiCheckpointGetAllCheckpointsRequest - */ +CheckpointGetAllCheckpoints Returns all the checkpoints. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCheckpointGetAllCheckpointsRequest +*/ func (a *CheckpointApiService) CheckpointGetAllCheckpoints(ctx _context.Context) ApiCheckpointGetAllCheckpointsRequest { return ApiCheckpointGetAllCheckpointsRequest{ ApiService: a, @@ -49,10 +50,8 @@ func (a *CheckpointApiService) CheckpointGetAllCheckpoints(ctx _context.Context) } } -/* - * Execute executes the request - * @return CheckpointListResponse - */ +// Execute executes the request +// @return CheckpointListResponse func (a *CheckpointApiService) CheckpointGetAllCheckpointsExecute(r ApiCheckpointGetAllCheckpointsRequest) (CheckpointListResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -149,11 +148,12 @@ func (r ApiCheckpointGetCheckpointRequest) Execute() (CheckpointResponse, *_neth } /* - * CheckpointGetCheckpoint Returns the specified checkpoint. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param checkpointId The Id of the requested checkpoint. - * @return ApiCheckpointGetCheckpointRequest - */ +CheckpointGetCheckpoint Returns the specified checkpoint. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param checkpointId The Id of the requested checkpoint. + @return ApiCheckpointGetCheckpointRequest +*/ func (a *CheckpointApiService) CheckpointGetCheckpoint(ctx _context.Context, checkpointId int32) ApiCheckpointGetCheckpointRequest { return ApiCheckpointGetCheckpointRequest{ ApiService: a, @@ -162,10 +162,8 @@ func (a *CheckpointApiService) CheckpointGetCheckpoint(ctx _context.Context, che } } -/* - * Execute executes the request - * @return CheckpointResponse - */ +// Execute executes the request +// @return CheckpointResponse func (a *CheckpointApiService) CheckpointGetCheckpointExecute(r ApiCheckpointGetCheckpointRequest) (CheckpointResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -272,10 +270,11 @@ func (r ApiCheckpointRegionGetAllCheckpointRegionsRequest) Execute() ([]Checkpoi } /* - * CheckpointRegionGetAllCheckpointRegions Returns all the checkpoint regions. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiCheckpointRegionGetAllCheckpointRegionsRequest - */ +CheckpointRegionGetAllCheckpointRegions Returns all the checkpoint regions. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCheckpointRegionGetAllCheckpointRegionsRequest +*/ func (a *CheckpointApiService) CheckpointRegionGetAllCheckpointRegions(ctx _context.Context) ApiCheckpointRegionGetAllCheckpointRegionsRequest { return ApiCheckpointRegionGetAllCheckpointRegionsRequest{ ApiService: a, @@ -283,10 +282,8 @@ func (a *CheckpointApiService) CheckpointRegionGetAllCheckpointRegions(ctx _cont } } -/* - * Execute executes the request - * @return []CheckpointRegion - */ +// Execute executes the request +// @return []CheckpointRegion func (a *CheckpointApiService) CheckpointRegionGetAllCheckpointRegionsExecute(r ApiCheckpointRegionGetAllCheckpointRegionsRequest) ([]CheckpointRegion, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -383,11 +380,12 @@ func (r ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest) Execute() ([]C } /* - * CheckpointRegionGetCheckpointRegionCheckpoints Returns the checkpoints for the specified checkpoint region. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param checkpointRegionId The id for the specified checkpoint region. - * @return ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest - */ +CheckpointRegionGetCheckpointRegionCheckpoints Returns the checkpoints for the specified checkpoint region. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param checkpointRegionId The id for the specified checkpoint region. + @return ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest +*/ func (a *CheckpointApiService) CheckpointRegionGetCheckpointRegionCheckpoints(ctx _context.Context, checkpointRegionId int32) ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest { return ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest{ ApiService: a, @@ -396,10 +394,8 @@ func (a *CheckpointApiService) CheckpointRegionGetCheckpointRegionCheckpoints(ct } } -/* - * Execute executes the request - * @return []Checkpoint - */ +// Execute executes the request +// @return []Checkpoint func (a *CheckpointApiService) CheckpointRegionGetCheckpointRegionCheckpointsExecute(r ApiCheckpointRegionGetCheckpointRegionCheckpointsRequest) ([]Checkpoint, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -507,11 +503,12 @@ func (r ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest) Execute() (Check } /* - * CheckpointRegionGetSpecifiedCheckpointRegion Returns the specified checkpoint region. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param checkpointRegionId The id for the specified checkpoint region. - * @return ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest - */ +CheckpointRegionGetSpecifiedCheckpointRegion Returns the specified checkpoint region. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param checkpointRegionId The id for the specified checkpoint region. + @return ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest +*/ func (a *CheckpointApiService) CheckpointRegionGetSpecifiedCheckpointRegion(ctx _context.Context, checkpointRegionId int32) ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest { return ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest{ ApiService: a, @@ -520,10 +517,8 @@ func (a *CheckpointApiService) CheckpointRegionGetSpecifiedCheckpointRegion(ctx } } -/* - * Execute executes the request - * @return CheckpointRegion - */ +// Execute executes the request +// @return CheckpointRegion func (a *CheckpointApiService) CheckpointRegionGetSpecifiedCheckpointRegionExecute(r ApiCheckpointRegionGetSpecifiedCheckpointRegionRequest) (CheckpointRegion, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -630,10 +625,11 @@ func (r ApiCheckpointServerGetAllServerIpv4AddressesRequest) Execute() (ListStri } /* - * CheckpointServerGetAllServerIpv4Addresses Anonymous call that returns all the IPv4 addresses of all the checkpoint servers. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiCheckpointServerGetAllServerIpv4AddressesRequest - */ +CheckpointServerGetAllServerIpv4Addresses Anonymous call that returns all the IPv4 addresses of all the checkpoint servers. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCheckpointServerGetAllServerIpv4AddressesRequest +*/ func (a *CheckpointApiService) CheckpointServerGetAllServerIpv4Addresses(ctx _context.Context) ApiCheckpointServerGetAllServerIpv4AddressesRequest { return ApiCheckpointServerGetAllServerIpv4AddressesRequest{ ApiService: a, @@ -641,10 +637,8 @@ func (a *CheckpointApiService) CheckpointServerGetAllServerIpv4Addresses(ctx _co } } -/* - * Execute executes the request - * @return ListStringResponse - */ +// Execute executes the request +// @return ListStringResponse func (a *CheckpointApiService) CheckpointServerGetAllServerIpv4AddressesExecute(r ApiCheckpointServerGetAllServerIpv4AddressesRequest) (ListStringResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -740,10 +734,11 @@ func (r ApiCheckpointServerGetAllServerIpv6AddressesRequest) Execute() (ListStri } /* - * CheckpointServerGetAllServerIpv6Addresses Anonymous call that returns all the IPv6 addresses of all the checkpoint servers. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiCheckpointServerGetAllServerIpv6AddressesRequest - */ +CheckpointServerGetAllServerIpv6Addresses Anonymous call that returns all the IPv6 addresses of all the checkpoint servers. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCheckpointServerGetAllServerIpv6AddressesRequest +*/ func (a *CheckpointApiService) CheckpointServerGetAllServerIpv6Addresses(ctx _context.Context) ApiCheckpointServerGetAllServerIpv6AddressesRequest { return ApiCheckpointServerGetAllServerIpv6AddressesRequest{ ApiService: a, @@ -751,10 +746,8 @@ func (a *CheckpointApiService) CheckpointServerGetAllServerIpv6Addresses(ctx _co } } -/* - * Execute executes the request - * @return ListStringResponse - */ +// Execute executes the request +// @return ListStringResponse func (a *CheckpointApiService) CheckpointServerGetAllServerIpv6AddressesExecute(r ApiCheckpointServerGetAllServerIpv6AddressesRequest) (ListStringResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -851,11 +844,12 @@ func (r ApiCheckpointServerGetServerRequest) Execute() (CheckpoinServerResponse, } /* - * CheckpointServerGetServer Returns the requested checkpoint server. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param serverId The Id of the requested server. - * @return ApiCheckpointServerGetServerRequest - */ +CheckpointServerGetServer Returns the requested checkpoint server. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param serverId The Id of the requested server. + @return ApiCheckpointServerGetServerRequest +*/ func (a *CheckpointApiService) CheckpointServerGetServer(ctx _context.Context, serverId int32) ApiCheckpointServerGetServerRequest { return ApiCheckpointServerGetServerRequest{ ApiService: a, @@ -864,10 +858,8 @@ func (a *CheckpointApiService) CheckpointServerGetServer(ctx _context.Context, s } } -/* - * Execute executes the request - * @return CheckpoinServerResponse - */ +// Execute executes the request +// @return CheckpoinServerResponse func (a *CheckpointApiService) CheckpointServerGetServerExecute(r ApiCheckpointServerGetServerRequest) (CheckpoinServerResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_dashboard.go b/api_dashboard.go index d0b4efc..f940d73 100644 --- a/api_dashboard.go +++ b/api_dashboard.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -39,11 +39,12 @@ func (r ApiDashboardCloneDashboardRequest) Execute() (Dashboard, *_nethttp.Respo } /* - * DashboardCloneDashboard Clone the specified dashboard. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param dashboardGuid The guid of the specified dashboard. - * @return ApiDashboardCloneDashboardRequest - */ +DashboardCloneDashboard Clone the specified dashboard. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param dashboardGuid The guid of the specified dashboard. + @return ApiDashboardCloneDashboardRequest +*/ func (a *DashboardApiService) DashboardCloneDashboard(ctx _context.Context, dashboardGuid string) ApiDashboardCloneDashboardRequest { return ApiDashboardCloneDashboardRequest{ ApiService: a, @@ -52,10 +53,8 @@ func (a *DashboardApiService) DashboardCloneDashboard(ctx _context.Context, dash } } -/* - * Execute executes the request - * @return Dashboard - */ +// Execute executes the request +// @return Dashboard func (a *DashboardApiService) DashboardCloneDashboardExecute(r ApiDashboardCloneDashboardRequest) (Dashboard, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -163,11 +162,12 @@ func (r ApiDashboardDeleteDashboardRequest) Execute() (*_nethttp.Response, error } /* - * DashboardDeleteDashboard Delete the specified dashboard. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param dashboardGuid The guid of the specified dashboard. - * @return ApiDashboardDeleteDashboardRequest - */ +DashboardDeleteDashboard Delete the specified dashboard. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param dashboardGuid The guid of the specified dashboard. + @return ApiDashboardDeleteDashboardRequest +*/ func (a *DashboardApiService) DashboardDeleteDashboard(ctx _context.Context, dashboardGuid string) ApiDashboardDeleteDashboardRequest { return ApiDashboardDeleteDashboardRequest{ ApiService: a, @@ -176,9 +176,7 @@ func (a *DashboardApiService) DashboardDeleteDashboard(ctx _context.Context, das } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *DashboardApiService) DashboardDeleteDashboardExecute(r ApiDashboardDeleteDashboardRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -275,10 +273,11 @@ func (r ApiDashboardGetAllDashboardsRequest) Execute() ([]Dashboard, *_nethttp.R } /* - * DashboardGetAllDashboards Returns data for all dashboards. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiDashboardGetAllDashboardsRequest - */ +DashboardGetAllDashboards Returns data for all dashboards. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDashboardGetAllDashboardsRequest +*/ func (a *DashboardApiService) DashboardGetAllDashboards(ctx _context.Context) ApiDashboardGetAllDashboardsRequest { return ApiDashboardGetAllDashboardsRequest{ ApiService: a, @@ -286,10 +285,8 @@ func (a *DashboardApiService) DashboardGetAllDashboards(ctx _context.Context) Ap } } -/* - * Execute executes the request - * @return []Dashboard - */ +// Execute executes the request +// @return []Dashboard func (a *DashboardApiService) DashboardGetAllDashboardsExecute(r ApiDashboardGetAllDashboardsRequest) ([]Dashboard, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -386,11 +383,12 @@ func (r ApiDashboardGetOneDashboardRequest) Execute() (Dashboard, *_nethttp.Resp } /* - * DashboardGetOneDashboard Returns data for the specified dashboard. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param dashboardGuid The guid of the specified dashboard. - * @return ApiDashboardGetOneDashboardRequest - */ +DashboardGetOneDashboard Returns data for the specified dashboard. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param dashboardGuid The guid of the specified dashboard. + @return ApiDashboardGetOneDashboardRequest +*/ func (a *DashboardApiService) DashboardGetOneDashboard(ctx _context.Context, dashboardGuid string) ApiDashboardGetOneDashboardRequest { return ApiDashboardGetOneDashboardRequest{ ApiService: a, @@ -399,10 +397,8 @@ func (a *DashboardApiService) DashboardGetOneDashboard(ctx _context.Context, das } } -/* - * Execute executes the request - * @return Dashboard - */ +// Execute executes the request +// @return Dashboard func (a *DashboardApiService) DashboardGetOneDashboardExecute(r ApiDashboardGetOneDashboardRequest) (Dashboard, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -505,6 +501,7 @@ type ApiDashboardPartiallyUpdateDashboardRequest struct { dashboard *Dashboard } +// The details for the dashboard. func (r ApiDashboardPartiallyUpdateDashboardRequest) Dashboard(dashboard Dashboard) ApiDashboardPartiallyUpdateDashboardRequest { r.dashboard = &dashboard return r @@ -515,11 +512,12 @@ func (r ApiDashboardPartiallyUpdateDashboardRequest) Execute() (*_nethttp.Respon } /* - * DashboardPartiallyUpdateDashboard Partially update the specified dashboard. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param dashboardGuid The guid of the specified dashboard. - * @return ApiDashboardPartiallyUpdateDashboardRequest - */ +DashboardPartiallyUpdateDashboard Partially update the specified dashboard. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param dashboardGuid The guid of the specified dashboard. + @return ApiDashboardPartiallyUpdateDashboardRequest +*/ func (a *DashboardApiService) DashboardPartiallyUpdateDashboard(ctx _context.Context, dashboardGuid string) ApiDashboardPartiallyUpdateDashboardRequest { return ApiDashboardPartiallyUpdateDashboardRequest{ ApiService: a, @@ -528,9 +526,7 @@ func (a *DashboardApiService) DashboardPartiallyUpdateDashboard(ctx _context.Con } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *DashboardApiService) DashboardPartiallyUpdateDashboardExecute(r ApiDashboardPartiallyUpdateDashboardRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -628,6 +624,7 @@ type ApiDashboardUpdateDashboardRequest struct { dashboard *Dashboard } +// The details for the dashboard. func (r ApiDashboardUpdateDashboardRequest) Dashboard(dashboard Dashboard) ApiDashboardUpdateDashboardRequest { r.dashboard = &dashboard return r @@ -638,11 +635,12 @@ func (r ApiDashboardUpdateDashboardRequest) Execute() (*_nethttp.Response, error } /* - * DashboardUpdateDashboard Update the specified dashboard. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param dashboardGuid The guid of the specified dashboard. - * @return ApiDashboardUpdateDashboardRequest - */ +DashboardUpdateDashboard Update the specified dashboard. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param dashboardGuid The guid of the specified dashboard. + @return ApiDashboardUpdateDashboardRequest +*/ func (a *DashboardApiService) DashboardUpdateDashboard(ctx _context.Context, dashboardGuid string) ApiDashboardUpdateDashboardRequest { return ApiDashboardUpdateDashboardRequest{ ApiService: a, @@ -651,9 +649,7 @@ func (a *DashboardApiService) DashboardUpdateDashboard(ctx _context.Context, das } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *DashboardApiService) DashboardUpdateDashboardExecute(r ApiDashboardUpdateDashboardRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_integration.go b/api_integration.go index 6e17ce4..e6dce9b 100644 --- a/api_integration.go +++ b/api_integration.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -37,10 +37,11 @@ func (r ApiIntegrationGetAllIntegrationsRequest) Execute() ([]Integration, *_net } /* - * IntegrationGetAllIntegrations Gets a list of all integrations. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiIntegrationGetAllIntegrationsRequest - */ +IntegrationGetAllIntegrations Gets a list of all integrations. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiIntegrationGetAllIntegrationsRequest +*/ func (a *IntegrationApiService) IntegrationGetAllIntegrations(ctx _context.Context) ApiIntegrationGetAllIntegrationsRequest { return ApiIntegrationGetAllIntegrationsRequest{ ApiService: a, @@ -48,10 +49,8 @@ func (a *IntegrationApiService) IntegrationGetAllIntegrations(ctx _context.Conte } } -/* - * Execute executes the request - * @return []Integration - */ +// Execute executes the request +// @return []Integration func (a *IntegrationApiService) IntegrationGetAllIntegrationsExecute(r ApiIntegrationGetAllIntegrationsRequest) ([]Integration, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_miscellaneous.go b/api_miscellaneous.go index 5225595..32f1df5 100644 --- a/api_miscellaneous.go +++ b/api_miscellaneous.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -38,10 +38,11 @@ func (r ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest) Execute() ([]Outgoing } /* - * MiscellaneousGetAllOutgoingPhoneNumbers Gets a list of all outgoing phone numbers available. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest - */ +MiscellaneousGetAllOutgoingPhoneNumbers Gets a list of all outgoing phone numbers available. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest +*/ func (a *MiscellaneousApiService) MiscellaneousGetAllOutgoingPhoneNumbers(ctx _context.Context) ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest { return ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest{ ApiService: a, @@ -49,10 +50,8 @@ func (a *MiscellaneousApiService) MiscellaneousGetAllOutgoingPhoneNumbers(ctx _c } } -/* - * Execute executes the request - * @return []OutgoingPhoneNumberDetails - */ +// Execute executes the request +// @return []OutgoingPhoneNumberDetails func (a *MiscellaneousApiService) MiscellaneousGetAllOutgoingPhoneNumbersExecute(r ApiMiscellaneousGetAllOutgoingPhoneNumbersRequest) ([]OutgoingPhoneNumberDetails, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -148,10 +147,11 @@ func (r ApiMiscellaneousGetAllTimezonesRequest) Execute() ([]Timezone, *_nethttp } /* - * MiscellaneousGetAllTimezones Gets all timezones available. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMiscellaneousGetAllTimezonesRequest - */ +MiscellaneousGetAllTimezones Gets all timezones available. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMiscellaneousGetAllTimezonesRequest +*/ func (a *MiscellaneousApiService) MiscellaneousGetAllTimezones(ctx _context.Context) ApiMiscellaneousGetAllTimezonesRequest { return ApiMiscellaneousGetAllTimezonesRequest{ ApiService: a, @@ -159,10 +159,8 @@ func (a *MiscellaneousApiService) MiscellaneousGetAllTimezones(ctx _context.Cont } } -/* - * Execute executes the request - * @return []Timezone - */ +// Execute executes the request +// @return []Timezone func (a *MiscellaneousApiService) MiscellaneousGetAllTimezonesExecute(r ApiMiscellaneousGetAllTimezonesRequest) ([]Timezone, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -259,11 +257,12 @@ func (r ApiMiscellaneousGetTimezoneByIdRequest) Execute() (Timezone, *_nethttp.R } /* - * MiscellaneousGetTimezoneById Gets the timezone with the specified Id. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param timezoneId - * @return ApiMiscellaneousGetTimezoneByIdRequest - */ +MiscellaneousGetTimezoneById Gets the timezone with the specified Id. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param timezoneId + @return ApiMiscellaneousGetTimezoneByIdRequest +*/ func (a *MiscellaneousApiService) MiscellaneousGetTimezoneById(ctx _context.Context, timezoneId int32) ApiMiscellaneousGetTimezoneByIdRequest { return ApiMiscellaneousGetTimezoneByIdRequest{ ApiService: a, @@ -272,10 +271,8 @@ func (a *MiscellaneousApiService) MiscellaneousGetTimezoneById(ctx _context.Cont } } -/* - * Execute executes the request - * @return Timezone - */ +// Execute executes the request +// @return Timezone func (a *MiscellaneousApiService) MiscellaneousGetTimezoneByIdExecute(r ApiMiscellaneousGetTimezoneByIdRequest) (Timezone, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_monitor.go b/api_monitor.go index 0444c91..55b2a95 100644 --- a/api_monitor.go +++ b/api_monitor.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,12 +41,13 @@ func (r ApiMonitorCleanupMaintenancePeriodsRequest) Execute() (*_nethttp.Respons } /* - * MonitorCleanupMaintenancePeriods Clears out all one-time maintenance periods for the specified monitor older than the specified date - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid - * @param beforeDate A string representing the date, formatted as \"yyyy-MM-dd\" - * @return ApiMonitorCleanupMaintenancePeriodsRequest - */ +MonitorCleanupMaintenancePeriods Clears out all one-time maintenance periods for the specified monitor older than the specified date + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid + @param beforeDate A string representing the date, formatted as \"yyyy-MM-dd\" + @return ApiMonitorCleanupMaintenancePeriodsRequest +*/ func (a *MonitorApiService) MonitorCleanupMaintenancePeriods(ctx _context.Context, monitorGuid string, beforeDate time.Time) ApiMonitorCleanupMaintenancePeriodsRequest { return ApiMonitorCleanupMaintenancePeriodsRequest{ ApiService: a, @@ -56,9 +57,7 @@ func (a *MonitorApiService) MonitorCleanupMaintenancePeriods(ctx _context.Contex } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorCleanupMaintenancePeriodsExecute(r ApiMonitorCleanupMaintenancePeriodsRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -153,10 +152,12 @@ type ApiMonitorCloneMonitorRequest struct { includeMonitorGroups *bool } +// Whether or not to also copy the maintenance periods into the clone. func (r ApiMonitorCloneMonitorRequest) IncludeMaintenancePeriods(includeMaintenancePeriods bool) ApiMonitorCloneMonitorRequest { r.includeMaintenancePeriods = &includeMaintenancePeriods return r } +// Whether or not to also copy the monitor group memberships into the clone. func (r ApiMonitorCloneMonitorRequest) IncludeMonitorGroups(includeMonitorGroups bool) ApiMonitorCloneMonitorRequest { r.includeMonitorGroups = &includeMonitorGroups return r @@ -167,12 +168,14 @@ func (r ApiMonitorCloneMonitorRequest) Execute() (Monitor, *_nethttp.Response, e } /* - * MonitorCloneMonitor Creates a clone (duplicate) of the specified monitor. - * Upon creation, the new monitor will be inactive. This allows you to make the necessary changes before you activate it. All other settings will be transferred to the new monitor as-is. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The guid of the monitor you want to clone. - * @return ApiMonitorCloneMonitorRequest - */ +MonitorCloneMonitor Creates a clone (duplicate) of the specified monitor. + +Upon creation, the new monitor will be inactive. This allows you to make the necessary changes before you activate it. All other settings will be transferred to the new monitor as-is. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The guid of the monitor you want to clone. + @return ApiMonitorCloneMonitorRequest +*/ func (a *MonitorApiService) MonitorCloneMonitor(ctx _context.Context, monitorGuid string) ApiMonitorCloneMonitorRequest { return ApiMonitorCloneMonitorRequest{ ApiService: a, @@ -181,10 +184,8 @@ func (a *MonitorApiService) MonitorCloneMonitor(ctx _context.Context, monitorGui } } -/* - * Execute executes the request - * @return Monitor - */ +// Execute executes the request +// @return Monitor func (a *MonitorApiService) MonitorCloneMonitorExecute(r ApiMonitorCloneMonitorRequest) (Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -303,11 +304,12 @@ func (r ApiMonitorCreateMaintenancePeriodForMonitorRequest) Execute() (Maintenan } /* - * MonitorCreateMaintenancePeriodForMonitor Saves the new maintenance period provided for the specified monitor - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid - * @return ApiMonitorCreateMaintenancePeriodForMonitorRequest - */ +MonitorCreateMaintenancePeriodForMonitor Saves the new maintenance period provided for the specified monitor + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid + @return ApiMonitorCreateMaintenancePeriodForMonitorRequest +*/ func (a *MonitorApiService) MonitorCreateMaintenancePeriodForMonitor(ctx _context.Context, monitorGuid string) ApiMonitorCreateMaintenancePeriodForMonitorRequest { return ApiMonitorCreateMaintenancePeriodForMonitorRequest{ ApiService: a, @@ -316,10 +318,8 @@ func (a *MonitorApiService) MonitorCreateMaintenancePeriodForMonitor(ctx _contex } } -/* - * Execute executes the request - * @return MaintenancePeriod - */ +// Execute executes the request +// @return MaintenancePeriod func (a *MonitorApiService) MonitorCreateMaintenancePeriodForMonitorExecute(r ApiMonitorCreateMaintenancePeriodForMonitorRequest) (MaintenancePeriod, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -433,12 +433,13 @@ func (r ApiMonitorDeleteMaintenancePeriodFromMonitorRequest) Execute() (*_nethtt } /* - * MonitorDeleteMaintenancePeriodFromMonitor Deletes the specified maintenance period from the specified monitor - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid - * @param maintenancePeriodId - * @return ApiMonitorDeleteMaintenancePeriodFromMonitorRequest - */ +MonitorDeleteMaintenancePeriodFromMonitor Deletes the specified maintenance period from the specified monitor + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid + @param maintenancePeriodId + @return ApiMonitorDeleteMaintenancePeriodFromMonitorRequest +*/ func (a *MonitorApiService) MonitorDeleteMaintenancePeriodFromMonitor(ctx _context.Context, monitorGuid string, maintenancePeriodId int32) ApiMonitorDeleteMaintenancePeriodFromMonitorRequest { return ApiMonitorDeleteMaintenancePeriodFromMonitorRequest{ ApiService: a, @@ -448,9 +449,7 @@ func (a *MonitorApiService) MonitorDeleteMaintenancePeriodFromMonitor(ctx _conte } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorDeleteMaintenancePeriodFromMonitorExecute(r ApiMonitorDeleteMaintenancePeriodFromMonitorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -549,11 +548,12 @@ func (r ApiMonitorDeleteMonitorRequest) Execute() (*_nethttp.Response, error) { } /* - * MonitorDeleteMonitor Deletes the specified monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The guid of the monitor you want to delete. - * @return ApiMonitorDeleteMonitorRequest - */ +MonitorDeleteMonitor Deletes the specified monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The guid of the monitor you want to delete. + @return ApiMonitorDeleteMonitorRequest +*/ func (a *MonitorApiService) MonitorDeleteMonitor(ctx _context.Context, monitorGuid string) ApiMonitorDeleteMonitorRequest { return ApiMonitorDeleteMonitorRequest{ ApiService: a, @@ -562,9 +562,7 @@ func (a *MonitorApiService) MonitorDeleteMonitor(ctx _context.Context, monitorGu } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorDeleteMonitorExecute(r ApiMonitorDeleteMonitorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -662,11 +660,12 @@ func (r ApiMonitorGetAllMaintenancePeriodsForMonitorRequest) Execute() ([]Mainte } /* - * MonitorGetAllMaintenancePeriodsForMonitor Finds all maintenance periods for a monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The guid of the monitor you want to find the maintenance periods of. - * @return ApiMonitorGetAllMaintenancePeriodsForMonitorRequest - */ +MonitorGetAllMaintenancePeriodsForMonitor Finds all maintenance periods for a monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The guid of the monitor you want to find the maintenance periods of. + @return ApiMonitorGetAllMaintenancePeriodsForMonitorRequest +*/ func (a *MonitorApiService) MonitorGetAllMaintenancePeriodsForMonitor(ctx _context.Context, monitorGuid string) ApiMonitorGetAllMaintenancePeriodsForMonitorRequest { return ApiMonitorGetAllMaintenancePeriodsForMonitorRequest{ ApiService: a, @@ -675,10 +674,8 @@ func (a *MonitorApiService) MonitorGetAllMaintenancePeriodsForMonitor(ctx _conte } } -/* - * Execute executes the request - * @return []MaintenancePeriod - */ +// Execute executes the request +// @return []MaintenancePeriod func (a *MonitorApiService) MonitorGetAllMaintenancePeriodsForMonitorExecute(r ApiMonitorGetAllMaintenancePeriodsForMonitorRequest) ([]MaintenancePeriod, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -781,6 +778,7 @@ type ApiMonitorGetMonitorRequest struct { filter *string } +// Provide the option to only retrieve the requested fields. E.g. \"Name,IsActive\". func (r ApiMonitorGetMonitorRequest) Filter(filter string) ApiMonitorGetMonitorRequest { r.filter = &filter return r @@ -791,11 +789,12 @@ func (r ApiMonitorGetMonitorRequest) Execute() (Monitor, *_nethttp.Response, err } /* - * MonitorGetMonitor Returns the definition of the specified monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the requested monitor. - * @return ApiMonitorGetMonitorRequest - */ +MonitorGetMonitor Returns the definition of the specified monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the requested monitor. + @return ApiMonitorGetMonitorRequest +*/ func (a *MonitorApiService) MonitorGetMonitor(ctx _context.Context, monitorGuid string) ApiMonitorGetMonitorRequest { return ApiMonitorGetMonitorRequest{ ApiService: a, @@ -804,10 +803,8 @@ func (a *MonitorApiService) MonitorGetMonitor(ctx _context.Context, monitorGuid } } -/* - * Execute executes the request - * @return Monitor - */ +// Execute executes the request +// @return Monitor func (a *MonitorApiService) MonitorGetMonitorExecute(r ApiMonitorGetMonitorRequest) (Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -918,11 +915,12 @@ func (r ApiMonitorGetMonitorGroupsRequest) Execute() (Monitor, *_nethttp.Respons } /* - * MonitorGetMonitorGroups Returns the Guid of each monitor group where the specified monitor is a member of. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the requested monitor. - * @return ApiMonitorGetMonitorGroupsRequest - */ +MonitorGetMonitorGroups Returns the Guid of each monitor group where the specified monitor is a member of. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the requested monitor. + @return ApiMonitorGetMonitorGroupsRequest +*/ func (a *MonitorApiService) MonitorGetMonitorGroups(ctx _context.Context, monitorGuid string) ApiMonitorGetMonitorGroupsRequest { return ApiMonitorGetMonitorGroupsRequest{ ApiService: a, @@ -931,10 +929,8 @@ func (a *MonitorApiService) MonitorGetMonitorGroups(ctx _context.Context, monito } } -/* - * Execute executes the request - * @return Monitor - */ +// Execute executes the request +// @return Monitor func (a *MonitorApiService) MonitorGetMonitorGroupsExecute(r ApiMonitorGetMonitorGroupsRequest) (Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1036,6 +1032,7 @@ type ApiMonitorGetMonitorsRequest struct { filter *string } +// Provide the option to only retrieve the requested fields. E.g. \"Name,IsActive\". func (r ApiMonitorGetMonitorsRequest) Filter(filter string) ApiMonitorGetMonitorsRequest { r.filter = &filter return r @@ -1046,10 +1043,11 @@ func (r ApiMonitorGetMonitorsRequest) Execute() ([]Monitor, *_nethttp.Response, } /* - * MonitorGetMonitors Returns the definition of all monitors available in the account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMonitorGetMonitorsRequest - */ +MonitorGetMonitors Returns the definition of all monitors available in the account. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMonitorGetMonitorsRequest +*/ func (a *MonitorApiService) MonitorGetMonitors(ctx _context.Context) ApiMonitorGetMonitorsRequest { return ApiMonitorGetMonitorsRequest{ ApiService: a, @@ -1057,10 +1055,8 @@ func (a *MonitorApiService) MonitorGetMonitors(ctx _context.Context) ApiMonitorG } } -/* - * Execute executes the request - * @return []Monitor - */ +// Execute executes the request +// @return []Monitor func (a *MonitorApiService) MonitorGetMonitorsExecute(r ApiMonitorGetMonitorsRequest) ([]Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1165,6 +1161,7 @@ type ApiMonitorGetMonitorsByMonitorGroupRequest struct { filter *string } +// Provide the option to only retrieve the requested fields. E.g. \"Name,IsActive\". func (r ApiMonitorGetMonitorsByMonitorGroupRequest) Filter(filter string) ApiMonitorGetMonitorsByMonitorGroupRequest { r.filter = &filter return r @@ -1175,11 +1172,12 @@ func (r ApiMonitorGetMonitorsByMonitorGroupRequest) Execute() ([]Monitor, *_neth } /* - * MonitorGetMonitorsByMonitorGroup Returns the definition of all monitors available in the account that are a member of the specified monitor group. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the requested monitor group to retrieve the monitors of. - * @return ApiMonitorGetMonitorsByMonitorGroupRequest - */ +MonitorGetMonitorsByMonitorGroup Returns the definition of all monitors available in the account that are a member of the specified monitor group. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the requested monitor group to retrieve the monitors of. + @return ApiMonitorGetMonitorsByMonitorGroupRequest +*/ func (a *MonitorApiService) MonitorGetMonitorsByMonitorGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGetMonitorsByMonitorGroupRequest { return ApiMonitorGetMonitorsByMonitorGroupRequest{ ApiService: a, @@ -1188,10 +1186,8 @@ func (a *MonitorApiService) MonitorGetMonitorsByMonitorGroup(ctx _context.Contex } } -/* - * Execute executes the request - * @return []Monitor - */ +// Execute executes the request +// @return []Monitor func (a *MonitorApiService) MonitorGetMonitorsByMonitorGroupExecute(r ApiMonitorGetMonitorsByMonitorGroupRequest) ([]Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1297,6 +1293,7 @@ type ApiMonitorPatchMonitorRequest struct { monitor *Monitor } +// The partial definition for the monitor that should be updated. func (r ApiMonitorPatchMonitorRequest) Monitor(monitor Monitor) ApiMonitorPatchMonitorRequest { r.monitor = &monitor return r @@ -1307,12 +1304,14 @@ func (r ApiMonitorPatchMonitorRequest) Execute() (*_nethttp.Response, error) { } /* - * MonitorPatchMonitor Partially updates the definition of the specified monitor. - * This methods accepts parts of a monitor definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor that should be updated. - * @return ApiMonitorPatchMonitorRequest - */ +MonitorPatchMonitor Partially updates the definition of the specified monitor. + +This methods accepts parts of a monitor definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor that should be updated. + @return ApiMonitorPatchMonitorRequest +*/ func (a *MonitorApiService) MonitorPatchMonitor(ctx _context.Context, monitorGuid string) ApiMonitorPatchMonitorRequest { return ApiMonitorPatchMonitorRequest{ ApiService: a, @@ -1321,9 +1320,7 @@ func (a *MonitorApiService) MonitorPatchMonitor(ctx _context.Context, monitorGui } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorPatchMonitorExecute(r ApiMonitorPatchMonitorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -1420,6 +1417,7 @@ type ApiMonitorPostMonitorRequest struct { monitor *Monitor } +// The complete definition of the monitor that should be created. func (r ApiMonitorPostMonitorRequest) Monitor(monitor Monitor) ApiMonitorPostMonitorRequest { r.monitor = &monitor return r @@ -1430,10 +1428,11 @@ func (r ApiMonitorPostMonitorRequest) Execute() (Monitor, *_nethttp.Response, er } /* - * MonitorPostMonitor Creates a new monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMonitorPostMonitorRequest - */ +MonitorPostMonitor Creates a new monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMonitorPostMonitorRequest +*/ func (a *MonitorApiService) MonitorPostMonitor(ctx _context.Context) ApiMonitorPostMonitorRequest { return ApiMonitorPostMonitorRequest{ ApiService: a, @@ -1441,10 +1440,8 @@ func (a *MonitorApiService) MonitorPostMonitor(ctx _context.Context) ApiMonitorP } } -/* - * Execute executes the request - * @return Monitor - */ +// Execute executes the request +// @return Monitor func (a *MonitorApiService) MonitorPostMonitorExecute(r ApiMonitorPostMonitorRequest) (Monitor, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1541,6 +1538,7 @@ type ApiMonitorPutMonitorRequest struct { monitor *Monitor } +// The complete definition for the monitor that should be updated. func (r ApiMonitorPutMonitorRequest) Monitor(monitor Monitor) ApiMonitorPutMonitorRequest { r.monitor = &monitor return r @@ -1551,12 +1549,14 @@ func (r ApiMonitorPutMonitorRequest) Execute() (*_nethttp.Response, error) { } /* - * MonitorPutMonitor Updates the definition of the specified monitor. - * This methods only accepts a complete monitor definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor that should be updated. - * @return ApiMonitorPutMonitorRequest - */ +MonitorPutMonitor Updates the definition of the specified monitor. + +This methods only accepts a complete monitor definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor that should be updated. + @return ApiMonitorPutMonitorRequest +*/ func (a *MonitorApiService) MonitorPutMonitor(ctx _context.Context, monitorGuid string) ApiMonitorPutMonitorRequest { return ApiMonitorPutMonitorRequest{ ApiService: a, @@ -1565,9 +1565,7 @@ func (a *MonitorApiService) MonitorPutMonitor(ctx _context.Context, monitorGuid } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorPutMonitorExecute(r ApiMonitorPutMonitorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1676,12 +1674,13 @@ func (r ApiMonitorUpdateMaintenancePeriodForMonitorRequest) Execute() (*_nethttp } /* - * MonitorUpdateMaintenancePeriodForMonitor Updates the specified maintenance schedule for the specified monitor - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid - * @param maintenancePeriodId - * @return ApiMonitorUpdateMaintenancePeriodForMonitorRequest - */ +MonitorUpdateMaintenancePeriodForMonitor Updates the specified maintenance schedule for the specified monitor + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid + @param maintenancePeriodId + @return ApiMonitorUpdateMaintenancePeriodForMonitorRequest +*/ func (a *MonitorApiService) MonitorUpdateMaintenancePeriodForMonitor(ctx _context.Context, monitorGuid string, maintenancePeriodId int32) ApiMonitorUpdateMaintenancePeriodForMonitorRequest { return ApiMonitorUpdateMaintenancePeriodForMonitorRequest{ ApiService: a, @@ -1691,9 +1690,7 @@ func (a *MonitorApiService) MonitorUpdateMaintenancePeriodForMonitor(ctx _contex } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorApiService) MonitorUpdateMaintenancePeriodForMonitorExecute(r ApiMonitorUpdateMaintenancePeriodForMonitorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_monitor_check.go b/api_monitor_check.go index 629a193..027de0c 100644 --- a/api_monitor_check.go +++ b/api_monitor_check.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,34 +41,42 @@ type ApiMonitorCheckGetAccountMonitorChecksRequest struct { presetPeriod *string } +// Error level filter that should be applied. (default = NoError and above) func (r ApiMonitorCheckGetAccountMonitorChecksRequest) ErrorLevel(errorLevel string) ApiMonitorCheckGetAccountMonitorChecksRequest { r.errorLevel = &errorLevel return r } +// Show partial measurements from concurrent monitors func (r ApiMonitorCheckGetAccountMonitorChecksRequest) ShowPartialMeasurements(showPartialMeasurements bool) ApiMonitorCheckGetAccountMonitorChecksRequest { r.showPartialMeasurements = &showPartialMeasurements return r } +// A cursor value that should be used for traversing the dataset. func (r ApiMonitorCheckGetAccountMonitorChecksRequest) Cursor(cursor string) ApiMonitorCheckGetAccountMonitorChecksRequest { r.cursor = &cursor return r } +// Sorting direction based on timestamp. func (r ApiMonitorCheckGetAccountMonitorChecksRequest) Sorting(sorting string) ApiMonitorCheckGetAccountMonitorChecksRequest { r.sorting = &sorting return r } +// The number of records to return (Max value = 100) func (r ApiMonitorCheckGetAccountMonitorChecksRequest) Take(take int32) ApiMonitorCheckGetAccountMonitorChecksRequest { r.take = &take return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiMonitorCheckGetAccountMonitorChecksRequest) Start(start time.Time) ApiMonitorCheckGetAccountMonitorChecksRequest { r.start = &start return r } +// The end of a custom period func (r ApiMonitorCheckGetAccountMonitorChecksRequest) End(end time.Time) ApiMonitorCheckGetAccountMonitorChecksRequest { r.end = &end return r } +// The requested time period. func (r ApiMonitorCheckGetAccountMonitorChecksRequest) PresetPeriod(presetPeriod string) ApiMonitorCheckGetAccountMonitorChecksRequest { r.presetPeriod = &presetPeriod return r @@ -79,10 +87,11 @@ func (r ApiMonitorCheckGetAccountMonitorChecksRequest) Execute() (MonitorCheckRe } /* - * MonitorCheckGetAccountMonitorChecks Returns all monitor check data. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMonitorCheckGetAccountMonitorChecksRequest - */ +MonitorCheckGetAccountMonitorChecks Returns all monitor check data. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMonitorCheckGetAccountMonitorChecksRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetAccountMonitorChecks(ctx _context.Context) ApiMonitorCheckGetAccountMonitorChecksRequest { return ApiMonitorCheckGetAccountMonitorChecksRequest{ ApiService: a, @@ -90,10 +99,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetAccountMonitorChecks(ctx _contex } } -/* - * Execute executes the request - * @return MonitorCheckResponse - */ +// Execute executes the request +// @return MonitorCheckResponse func (a *MonitorCheckApiService) MonitorCheckGetAccountMonitorChecksExecute(r ApiMonitorCheckGetAccountMonitorChecksRequest) (MonitorCheckResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -214,11 +221,12 @@ func (r ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest) Execute() (Moni } /* - * MonitorCheckGetConcurrentMonitorPartialChecks Gets all partial checks for a concurrent monitor check - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the partial checks for. - * @return ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest - */ +MonitorCheckGetConcurrentMonitorPartialChecks Gets all partial checks for a concurrent monitor check + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the partial checks for. + @return ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetConcurrentMonitorPartialChecks(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest { return ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest{ ApiService: a, @@ -227,10 +235,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetConcurrentMonitorPartialChecks(c } } -/* - * Execute executes the request - * @return MonitorCheckResponse - */ +// Execute executes the request +// @return MonitorCheckResponse func (a *MonitorCheckApiService) MonitorCheckGetConcurrentMonitorPartialChecksExecute(r ApiMonitorCheckGetConcurrentMonitorPartialChecksRequest) (MonitorCheckResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -323,6 +329,7 @@ type ApiMonitorCheckGetConsoleLogInfoRequest struct { step *int32 } +// For transactions only: the transaction step to get the console log for. func (r ApiMonitorCheckGetConsoleLogInfoRequest) Step(step int32) ApiMonitorCheckGetConsoleLogInfoRequest { r.step = &step return r @@ -333,11 +340,12 @@ func (r ApiMonitorCheckGetConsoleLogInfoRequest) Execute() (WaterfallResponse, * } /* - * MonitorCheckGetConsoleLogInfo Returns console log information for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetConsoleLogInfoRequest - */ +MonitorCheckGetConsoleLogInfo Returns console log information for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetConsoleLogInfoRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetConsoleLogInfo(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetConsoleLogInfoRequest { return ApiMonitorCheckGetConsoleLogInfoRequest{ ApiService: a, @@ -346,10 +354,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetConsoleLogInfo(ctx _context.Cont } } -/* - * Execute executes the request - * @return WaterfallResponse - */ +// Execute executes the request +// @return WaterfallResponse func (a *MonitorCheckApiService) MonitorCheckGetConsoleLogInfoExecute(r ApiMonitorCheckGetConsoleLogInfoRequest) (WaterfallResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -450,11 +456,12 @@ func (r ApiMonitorCheckGetHttpDetailsRequest) Execute() (HttpDetailsResponse, *_ } /* - * MonitorCheckGetHttpDetails Returns HTTP details for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetHttpDetailsRequest - */ +MonitorCheckGetHttpDetails Returns HTTP details for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetHttpDetailsRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetHttpDetails(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetHttpDetailsRequest { return ApiMonitorCheckGetHttpDetailsRequest{ ApiService: a, @@ -463,10 +470,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetHttpDetails(ctx _context.Context } } -/* - * Execute executes the request - * @return HttpDetailsResponse - */ +// Execute executes the request +// @return HttpDetailsResponse func (a *MonitorCheckApiService) MonitorCheckGetHttpDetailsExecute(r ApiMonitorCheckGetHttpDetailsRequest) (HttpDetailsResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -566,34 +571,42 @@ type ApiMonitorCheckGetMonitorCheckRequest struct { presetPeriod *string } +// Error level filter that should be applied. (default = NoError and above) func (r ApiMonitorCheckGetMonitorCheckRequest) ErrorLevel(errorLevel string) ApiMonitorCheckGetMonitorCheckRequest { r.errorLevel = &errorLevel return r } +// Show partial measurements from concurrent monitors func (r ApiMonitorCheckGetMonitorCheckRequest) ShowPartialMeasurements(showPartialMeasurements bool) ApiMonitorCheckGetMonitorCheckRequest { r.showPartialMeasurements = &showPartialMeasurements return r } +// A cursor value that should be used for traversing the dataset. func (r ApiMonitorCheckGetMonitorCheckRequest) Cursor(cursor string) ApiMonitorCheckGetMonitorCheckRequest { r.cursor = &cursor return r } +// Sorting direction based on timestamp. func (r ApiMonitorCheckGetMonitorCheckRequest) Sorting(sorting string) ApiMonitorCheckGetMonitorCheckRequest { r.sorting = &sorting return r } +// The number of records to return (Max value = 100) func (r ApiMonitorCheckGetMonitorCheckRequest) Take(take int32) ApiMonitorCheckGetMonitorCheckRequest { r.take = &take return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiMonitorCheckGetMonitorCheckRequest) Start(start time.Time) ApiMonitorCheckGetMonitorCheckRequest { r.start = &start return r } +// The end of a custom period func (r ApiMonitorCheckGetMonitorCheckRequest) End(end time.Time) ApiMonitorCheckGetMonitorCheckRequest { r.end = &end return r } +// The requested time period. func (r ApiMonitorCheckGetMonitorCheckRequest) PresetPeriod(presetPeriod string) ApiMonitorCheckGetMonitorCheckRequest { r.presetPeriod = &presetPeriod return r @@ -604,11 +617,12 @@ func (r ApiMonitorCheckGetMonitorCheckRequest) Execute() (MonitorCheckResponse, } /* - * MonitorCheckGetMonitorCheck Returns monitor check data for a specific monitor. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor to get monitor checks for. - * @return ApiMonitorCheckGetMonitorCheckRequest - */ +MonitorCheckGetMonitorCheck Returns monitor check data for a specific monitor. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor to get monitor checks for. + @return ApiMonitorCheckGetMonitorCheckRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetMonitorCheck(ctx _context.Context, monitorGuid string) ApiMonitorCheckGetMonitorCheckRequest { return ApiMonitorCheckGetMonitorCheckRequest{ ApiService: a, @@ -617,10 +631,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetMonitorCheck(ctx _context.Contex } } -/* - * Execute executes the request - * @return MonitorCheckResponse - */ +// Execute executes the request +// @return MonitorCheckResponse func (a *MonitorCheckApiService) MonitorCheckGetMonitorCheckExecute(r ApiMonitorCheckGetMonitorCheckRequest) (MonitorCheckResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -744,34 +756,42 @@ type ApiMonitorCheckGetMonitorGroupDataRequest struct { presetPeriod *string } +// Error level filter that should be applied. (default = NoError and above) func (r ApiMonitorCheckGetMonitorGroupDataRequest) ErrorLevel(errorLevel string) ApiMonitorCheckGetMonitorGroupDataRequest { r.errorLevel = &errorLevel return r } +// Show partial measurements from concurrent monitors func (r ApiMonitorCheckGetMonitorGroupDataRequest) ShowPartialMeasurements(showPartialMeasurements bool) ApiMonitorCheckGetMonitorGroupDataRequest { r.showPartialMeasurements = &showPartialMeasurements return r } +// A cursor value that should be used for traversing the dataset. func (r ApiMonitorCheckGetMonitorGroupDataRequest) Cursor(cursor string) ApiMonitorCheckGetMonitorGroupDataRequest { r.cursor = &cursor return r } +// Sorting direction based on timestamp. func (r ApiMonitorCheckGetMonitorGroupDataRequest) Sorting(sorting string) ApiMonitorCheckGetMonitorGroupDataRequest { r.sorting = &sorting return r } +// The number of records to return (Max value = 100) func (r ApiMonitorCheckGetMonitorGroupDataRequest) Take(take int32) ApiMonitorCheckGetMonitorGroupDataRequest { r.take = &take return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiMonitorCheckGetMonitorGroupDataRequest) Start(start time.Time) ApiMonitorCheckGetMonitorGroupDataRequest { r.start = &start return r } +// The end of a custom period func (r ApiMonitorCheckGetMonitorGroupDataRequest) End(end time.Time) ApiMonitorCheckGetMonitorGroupDataRequest { r.end = &end return r } +// The requested time period. func (r ApiMonitorCheckGetMonitorGroupDataRequest) PresetPeriod(presetPeriod string) ApiMonitorCheckGetMonitorGroupDataRequest { r.presetPeriod = &presetPeriod return r @@ -782,11 +802,12 @@ func (r ApiMonitorCheckGetMonitorGroupDataRequest) Execute() (MonitorCheckRespon } /* - * MonitorCheckGetMonitorGroupData Returns monitor check data for a specific monitor group. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to get monitor checks for. - * @return ApiMonitorCheckGetMonitorGroupDataRequest - */ +MonitorCheckGetMonitorGroupData Returns monitor check data for a specific monitor group. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to get monitor checks for. + @return ApiMonitorCheckGetMonitorGroupDataRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetMonitorGroupData(ctx _context.Context, monitorGroupGuid string) ApiMonitorCheckGetMonitorGroupDataRequest { return ApiMonitorCheckGetMonitorGroupDataRequest{ ApiService: a, @@ -795,10 +816,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetMonitorGroupData(ctx _context.Co } } -/* - * Execute executes the request - * @return MonitorCheckResponse - */ +// Execute executes the request +// @return MonitorCheckResponse func (a *MonitorCheckApiService) MonitorCheckGetMonitorGroupDataExecute(r ApiMonitorCheckGetMonitorGroupDataRequest) (MonitorCheckResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -920,11 +939,12 @@ func (r ApiMonitorCheckGetMultistepDetailsRequest) Execute() (MsaDetailsResponse } /* - * MonitorCheckGetMultistepDetails Returns Multi-Step API details for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetMultistepDetailsRequest - */ +MonitorCheckGetMultistepDetails Returns Multi-Step API details for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetMultistepDetailsRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetMultistepDetails(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetMultistepDetailsRequest { return ApiMonitorCheckGetMultistepDetailsRequest{ ApiService: a, @@ -933,10 +953,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetMultistepDetails(ctx _context.Co } } -/* - * Execute executes the request - * @return MsaDetailsResponse - */ +// Execute executes the request +// @return MsaDetailsResponse func (a *MonitorCheckApiService) MonitorCheckGetMultistepDetailsExecute(r ApiMonitorCheckGetMultistepDetailsRequest) (MsaDetailsResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1029,6 +1047,7 @@ type ApiMonitorCheckGetPageSourceInfoRequest struct { step *int32 } +// For transactions only: the transaction step to get the page source for. func (r ApiMonitorCheckGetPageSourceInfoRequest) Step(step int32) ApiMonitorCheckGetPageSourceInfoRequest { r.step = &step return r @@ -1039,11 +1058,12 @@ func (r ApiMonitorCheckGetPageSourceInfoRequest) Execute() (WaterfallResponse, * } /* - * MonitorCheckGetPageSourceInfo Returns page source information for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetPageSourceInfoRequest - */ +MonitorCheckGetPageSourceInfo Returns page source information for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetPageSourceInfoRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetPageSourceInfo(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetPageSourceInfoRequest { return ApiMonitorCheckGetPageSourceInfoRequest{ ApiService: a, @@ -1052,10 +1072,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetPageSourceInfo(ctx _context.Cont } } -/* - * Execute executes the request - * @return WaterfallResponse - */ +// Execute executes the request +// @return WaterfallResponse func (a *MonitorCheckApiService) MonitorCheckGetPageSourceInfoExecute(r ApiMonitorCheckGetPageSourceInfoRequest) (WaterfallResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1157,12 +1175,13 @@ func (r ApiMonitorCheckGetScreenshotsRequest) Execute() (ScreenshotResponse, *_n } /* - * MonitorCheckGetScreenshots Gets a specific screenshot for a specified monitor check - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the screenshot data for. - * @param screenshotId The screenshot Id of the screenshot to get. - * @return ApiMonitorCheckGetScreenshotsRequest - */ +MonitorCheckGetScreenshots Gets a specific screenshot for a specified monitor check + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the screenshot data for. + @param screenshotId The screenshot Id of the screenshot to get. + @return ApiMonitorCheckGetScreenshotsRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetScreenshots(ctx _context.Context, monitorCheckId int64, screenshotId string) ApiMonitorCheckGetScreenshotsRequest { return ApiMonitorCheckGetScreenshotsRequest{ ApiService: a, @@ -1172,10 +1191,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetScreenshots(ctx _context.Context } } -/* - * Execute executes the request - * @return ScreenshotResponse - */ +// Execute executes the request +// @return ScreenshotResponse func (a *MonitorCheckApiService) MonitorCheckGetScreenshotsExecute(r ApiMonitorCheckGetScreenshotsRequest) (ScreenshotResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1274,11 +1291,12 @@ func (r ApiMonitorCheckGetSingleMonitorCheckRequest) Execute() (SingleMonitorChe } /* - * MonitorCheckGetSingleMonitorCheck Returns a single monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The Id of the monitor check to get the data for. - * @return ApiMonitorCheckGetSingleMonitorCheckRequest - */ +MonitorCheckGetSingleMonitorCheck Returns a single monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The Id of the monitor check to get the data for. + @return ApiMonitorCheckGetSingleMonitorCheckRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetSingleMonitorCheck(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetSingleMonitorCheckRequest { return ApiMonitorCheckGetSingleMonitorCheckRequest{ ApiService: a, @@ -1287,10 +1305,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetSingleMonitorCheck(ctx _context. } } -/* - * Execute executes the request - * @return SingleMonitorCheckResponse - */ +// Execute executes the request +// @return SingleMonitorCheckResponse func (a *MonitorCheckApiService) MonitorCheckGetSingleMonitorCheckExecute(r ApiMonitorCheckGetSingleMonitorCheckRequest) (SingleMonitorCheckResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1388,11 +1404,12 @@ func (r ApiMonitorCheckGetTransactionDetailsRequest) Execute() (TransactionDetai } /* - * MonitorCheckGetTransactionDetails Returns transaction step details for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetTransactionDetailsRequest - */ +MonitorCheckGetTransactionDetails Returns transaction step details for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetTransactionDetailsRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetTransactionDetails(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetTransactionDetailsRequest { return ApiMonitorCheckGetTransactionDetailsRequest{ ApiService: a, @@ -1401,10 +1418,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetTransactionDetails(ctx _context. } } -/* - * Execute executes the request - * @return TransactionDetailsResponse - */ +// Execute executes the request +// @return TransactionDetailsResponse func (a *MonitorCheckApiService) MonitorCheckGetTransactionDetailsExecute(r ApiMonitorCheckGetTransactionDetailsRequest) (TransactionDetailsResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1497,6 +1512,7 @@ type ApiMonitorCheckGetWaterfallInfoRequest struct { step *int32 } +// For transaction waterfalls only: the transaction step to get the waterfall for. func (r ApiMonitorCheckGetWaterfallInfoRequest) Step(step int32) ApiMonitorCheckGetWaterfallInfoRequest { r.step = &step return r @@ -1507,11 +1523,12 @@ func (r ApiMonitorCheckGetWaterfallInfoRequest) Execute() (WaterfallResponse, *_ } /* - * MonitorCheckGetWaterfallInfo Returns waterfall information for a monitor check. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorCheckId The monitor check Id to get the detailed data for. - * @return ApiMonitorCheckGetWaterfallInfoRequest - */ +MonitorCheckGetWaterfallInfo Returns waterfall information for a monitor check. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorCheckId The monitor check Id to get the detailed data for. + @return ApiMonitorCheckGetWaterfallInfoRequest +*/ func (a *MonitorCheckApiService) MonitorCheckGetWaterfallInfo(ctx _context.Context, monitorCheckId int64) ApiMonitorCheckGetWaterfallInfoRequest { return ApiMonitorCheckGetWaterfallInfoRequest{ ApiService: a, @@ -1520,10 +1537,8 @@ func (a *MonitorCheckApiService) MonitorCheckGetWaterfallInfo(ctx _context.Conte } } -/* - * Execute executes the request - * @return WaterfallResponse - */ +// Execute executes the request +// @return WaterfallResponse func (a *MonitorCheckApiService) MonitorCheckGetWaterfallInfoExecute(r ApiMonitorCheckGetWaterfallInfoRequest) (WaterfallResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_monitor_group.go b/api_monitor_group.go index ec61003..8de95ee 100644 --- a/api_monitor_group.go +++ b/api_monitor_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -44,11 +44,12 @@ func (r ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest) Execute() (*_net } /* - * MonitorGroupAddMaintenancePeriodToAllMembers Adds the provided maintenance period to all monitors in the group specified - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid - * @return ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest - */ +MonitorGroupAddMaintenancePeriodToAllMembers Adds the provided maintenance period to all monitors in the group specified + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid + @return ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest +*/ func (a *MonitorGroupApiService) MonitorGroupAddMaintenancePeriodToAllMembers(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest { return ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest{ ApiService: a, @@ -57,9 +58,7 @@ func (a *MonitorGroupApiService) MonitorGroupAddMaintenancePeriodToAllMembers(ct } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupAddMaintenancePeriodToAllMembersExecute(r ApiMonitorGroupAddMaintenancePeriodToAllMembersRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -163,12 +162,13 @@ func (r ApiMonitorGroupAddMonitorToMonitorGroupRequest) Execute() (*_nethttp.Res } /* - * MonitorGroupAddMonitorToMonitorGroup Adds the specified monitor to the monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to add the monitor to - * @param monitorGuid The monitor Guid - * @return ApiMonitorGroupAddMonitorToMonitorGroupRequest - */ +MonitorGroupAddMonitorToMonitorGroup Adds the specified monitor to the monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to add the monitor to + @param monitorGuid The monitor Guid + @return ApiMonitorGroupAddMonitorToMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupAddMonitorToMonitorGroup(ctx _context.Context, monitorGroupGuid string, monitorGuid string) ApiMonitorGroupAddMonitorToMonitorGroupRequest { return ApiMonitorGroupAddMonitorToMonitorGroupRequest{ ApiService: a, @@ -178,9 +178,7 @@ func (a *MonitorGroupApiService) MonitorGroupAddMonitorToMonitorGroup(ctx _conte } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupAddMonitorToMonitorGroupExecute(r ApiMonitorGroupAddMonitorToMonitorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -273,6 +271,7 @@ type ApiMonitorGroupCreateMonitorGroupRequest struct { monitorGroup *MonitorGroup } +// The MonitorGroup object to be created func (r ApiMonitorGroupCreateMonitorGroupRequest) MonitorGroup(monitorGroup MonitorGroup) ApiMonitorGroupCreateMonitorGroupRequest { r.monitorGroup = &monitorGroup return r @@ -283,10 +282,11 @@ func (r ApiMonitorGroupCreateMonitorGroupRequest) Execute() (MonitorGroup, *_net } /* - * MonitorGroupCreateMonitorGroup Creates a new monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMonitorGroupCreateMonitorGroupRequest - */ +MonitorGroupCreateMonitorGroup Creates a new monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMonitorGroupCreateMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupCreateMonitorGroup(ctx _context.Context) ApiMonitorGroupCreateMonitorGroupRequest { return ApiMonitorGroupCreateMonitorGroupRequest{ ApiService: a, @@ -294,10 +294,8 @@ func (a *MonitorGroupApiService) MonitorGroupCreateMonitorGroup(ctx _context.Con } } -/* - * Execute executes the request - * @return MonitorGroup - */ +// Execute executes the request +// @return MonitorGroup func (a *MonitorGroupApiService) MonitorGroupCreateMonitorGroupExecute(r ApiMonitorGroupCreateMonitorGroupRequest) (MonitorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -399,11 +397,12 @@ func (r ApiMonitorGroupDeleteMonitorGroupRequest) Execute() (*_nethttp.Response, } /* - * MonitorGroupDeleteMonitorGroup Deletes the specified monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to be deleted - * @return ApiMonitorGroupDeleteMonitorGroupRequest - */ +MonitorGroupDeleteMonitorGroup Deletes the specified monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to be deleted + @return ApiMonitorGroupDeleteMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupDeleteMonitorGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupDeleteMonitorGroupRequest { return ApiMonitorGroupDeleteMonitorGroupRequest{ ApiService: a, @@ -412,9 +411,7 @@ func (a *MonitorGroupApiService) MonitorGroupDeleteMonitorGroup(ctx _context.Con } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupDeleteMonitorGroupExecute(r ApiMonitorGroupDeleteMonitorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -511,10 +508,11 @@ func (r ApiMonitorGroupGetAllMonitorGroupsRequest) Execute() ([]MonitorGroup, *_ } /* - * MonitorGroupGetAllMonitorGroups Gets all monitor groups - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiMonitorGroupGetAllMonitorGroupsRequest - */ +MonitorGroupGetAllMonitorGroups Gets all monitor groups + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiMonitorGroupGetAllMonitorGroupsRequest +*/ func (a *MonitorGroupApiService) MonitorGroupGetAllMonitorGroups(ctx _context.Context) ApiMonitorGroupGetAllMonitorGroupsRequest { return ApiMonitorGroupGetAllMonitorGroupsRequest{ ApiService: a, @@ -522,10 +520,8 @@ func (a *MonitorGroupApiService) MonitorGroupGetAllMonitorGroups(ctx _context.Co } } -/* - * Execute executes the request - * @return []MonitorGroup - */ +// Execute executes the request +// @return []MonitorGroup func (a *MonitorGroupApiService) MonitorGroupGetAllMonitorGroupsExecute(r ApiMonitorGroupGetAllMonitorGroupsRequest) ([]MonitorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -622,11 +618,12 @@ func (r ApiMonitorGroupGetMonitorGroupRequest) Execute() (MonitorGroup, *_nethtt } /* - * MonitorGroupGetMonitorGroup Gets the details of a monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to be retrieved - * @return ApiMonitorGroupGetMonitorGroupRequest - */ +MonitorGroupGetMonitorGroup Gets the details of a monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to be retrieved + @return ApiMonitorGroupGetMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupGetMonitorGroupRequest { return ApiMonitorGroupGetMonitorGroupRequest{ ApiService: a, @@ -635,10 +632,8 @@ func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroup(ctx _context.Contex } } -/* - * Execute executes the request - * @return MonitorGroup - */ +// Execute executes the request +// @return MonitorGroup func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroupExecute(r ApiMonitorGroupGetMonitorGroupRequest) (MonitorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -746,11 +741,12 @@ func (r ApiMonitorGroupGetMonitorGroupMembersRequest) Execute() (MonitorGroupMem } /* - * MonitorGroupGetMonitorGroupMembers Gets a list of all members of a monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to retrieve the members for - * @return ApiMonitorGroupGetMonitorGroupMembersRequest - */ +MonitorGroupGetMonitorGroupMembers Gets a list of all members of a monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to retrieve the members for + @return ApiMonitorGroupGetMonitorGroupMembersRequest +*/ func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroupMembers(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupGetMonitorGroupMembersRequest { return ApiMonitorGroupGetMonitorGroupMembersRequest{ ApiService: a, @@ -759,10 +755,8 @@ func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroupMembers(ctx _context } } -/* - * Execute executes the request - * @return MonitorGroupMember - */ +// Execute executes the request +// @return MonitorGroupMember func (a *MonitorGroupApiService) MonitorGroupGetMonitorGroupMembersExecute(r ApiMonitorGroupGetMonitorGroupMembersRequest) (MonitorGroupMember, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -871,12 +865,13 @@ func (r ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest) Execute() (*_nethtt } /* - * MonitorGroupRemoveMonitorFromMonitorGroup Removes the specified monitor from the monitor group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to remove the monitor from - * @param monitorGuid The monitor Guid to be removed - * @return ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest - */ +MonitorGroupRemoveMonitorFromMonitorGroup Removes the specified monitor from the monitor group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to remove the monitor from + @param monitorGuid The monitor Guid to be removed + @return ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupRemoveMonitorFromMonitorGroup(ctx _context.Context, monitorGroupGuid string, monitorGuid string) ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest { return ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest{ ApiService: a, @@ -886,9 +881,7 @@ func (a *MonitorGroupApiService) MonitorGroupRemoveMonitorFromMonitorGroup(ctx _ } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupRemoveMonitorFromMonitorGroupExecute(r ApiMonitorGroupRemoveMonitorFromMonitorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -987,11 +980,12 @@ func (r ApiMonitorGroupStartAllMonitorAlertsInGroupRequest) Execute() (*_nethttp } /* - * MonitorGroupStartAllMonitorAlertsInGroup Starts alerting for all monitors that are a member of the monitor group specified by the monitor group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The monitor group GUID - * @return ApiMonitorGroupStartAllMonitorAlertsInGroupRequest - */ +MonitorGroupStartAllMonitorAlertsInGroup Starts alerting for all monitors that are a member of the monitor group specified by the monitor group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The monitor group GUID + @return ApiMonitorGroupStartAllMonitorAlertsInGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorAlertsInGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupStartAllMonitorAlertsInGroupRequest { return ApiMonitorGroupStartAllMonitorAlertsInGroupRequest{ ApiService: a, @@ -1000,9 +994,7 @@ func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorAlertsInGroup(ctx _c } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorAlertsInGroupExecute(r ApiMonitorGroupStartAllMonitorAlertsInGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1100,11 +1092,12 @@ func (r ApiMonitorGroupStartAllMonitorsInGroupRequest) Execute() (*_nethttp.Resp } /* - * MonitorGroupStartAllMonitorsInGroup Starts all monitors that are a member of the monitor group specified by the monitor group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The monitor group GUID - * @return ApiMonitorGroupStartAllMonitorsInGroupRequest - */ +MonitorGroupStartAllMonitorsInGroup Starts all monitors that are a member of the monitor group specified by the monitor group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The monitor group GUID + @return ApiMonitorGroupStartAllMonitorsInGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorsInGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupStartAllMonitorsInGroupRequest { return ApiMonitorGroupStartAllMonitorsInGroupRequest{ ApiService: a, @@ -1113,9 +1106,7 @@ func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorsInGroup(ctx _contex } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupStartAllMonitorsInGroupExecute(r ApiMonitorGroupStartAllMonitorsInGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1213,11 +1204,12 @@ func (r ApiMonitorGroupStopAllMonitorAlertsInGroupRequest) Execute() (*_nethttp. } /* - * MonitorGroupStopAllMonitorAlertsInGroup Stops alerting for all monitors that are a member of the monitor group specified by the monitor group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The monitor group GUID - * @return ApiMonitorGroupStopAllMonitorAlertsInGroupRequest - */ +MonitorGroupStopAllMonitorAlertsInGroup Stops alerting for all monitors that are a member of the monitor group specified by the monitor group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The monitor group GUID + @return ApiMonitorGroupStopAllMonitorAlertsInGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorAlertsInGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupStopAllMonitorAlertsInGroupRequest { return ApiMonitorGroupStopAllMonitorAlertsInGroupRequest{ ApiService: a, @@ -1226,9 +1218,7 @@ func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorAlertsInGroup(ctx _co } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorAlertsInGroupExecute(r ApiMonitorGroupStopAllMonitorAlertsInGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1326,11 +1316,12 @@ func (r ApiMonitorGroupStopAllMonitorsInGroupRequest) Execute() (*_nethttp.Respo } /* - * MonitorGroupStopAllMonitorsInGroup Stops all monitors that are a member of the monitor group specified by the monitor group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The monitor group GUID - * @return ApiMonitorGroupStopAllMonitorsInGroupRequest - */ +MonitorGroupStopAllMonitorsInGroup Stops all monitors that are a member of the monitor group specified by the monitor group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The monitor group GUID + @return ApiMonitorGroupStopAllMonitorsInGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorsInGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupStopAllMonitorsInGroupRequest { return ApiMonitorGroupStopAllMonitorsInGroupRequest{ ApiService: a, @@ -1339,9 +1330,7 @@ func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorsInGroup(ctx _context } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupStopAllMonitorsInGroupExecute(r ApiMonitorGroupStopAllMonitorsInGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1434,6 +1423,7 @@ type ApiMonitorGroupUpdateMonitorGroupRequest struct { item *MonitorGroup } +// The monitor group to be updated func (r ApiMonitorGroupUpdateMonitorGroupRequest) Item(item MonitorGroup) ApiMonitorGroupUpdateMonitorGroupRequest { r.item = &item return r @@ -1444,11 +1434,12 @@ func (r ApiMonitorGroupUpdateMonitorGroupRequest) Execute() (*_nethttp.Response, } /* - * MonitorGroupUpdateMonitorGroup Updates the monitor group with the Guid specified - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group to be updated - * @return ApiMonitorGroupUpdateMonitorGroupRequest - */ +MonitorGroupUpdateMonitorGroup Updates the monitor group with the Guid specified + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group to be updated + @return ApiMonitorGroupUpdateMonitorGroupRequest +*/ func (a *MonitorGroupApiService) MonitorGroupUpdateMonitorGroup(ctx _context.Context, monitorGroupGuid string) ApiMonitorGroupUpdateMonitorGroupRequest { return ApiMonitorGroupUpdateMonitorGroupRequest{ ApiService: a, @@ -1457,9 +1448,7 @@ func (a *MonitorGroupApiService) MonitorGroupUpdateMonitorGroup(ctx _context.Con } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *MonitorGroupApiService) MonitorGroupUpdateMonitorGroupExecute(r ApiMonitorGroupUpdateMonitorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_operator.go b/api_operator.go index 6c1f05d..30bd6f4 100644 --- a/api_operator.go +++ b/api_operator.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -34,6 +34,7 @@ type ApiOperatorAddDutyPeriodForOperatorRequest struct { schedule *OperatorDutySchedule } +// The duty schedule to add func (r ApiOperatorAddDutyPeriodForOperatorRequest) Schedule(schedule OperatorDutySchedule) ApiOperatorAddDutyPeriodForOperatorRequest { r.schedule = &schedule return r @@ -44,11 +45,12 @@ func (r ApiOperatorAddDutyPeriodForOperatorRequest) Execute() (*_nethttp.Respons } /* - * OperatorAddDutyPeriodForOperator Adds a duty schedule to the specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator to add the duty schedule to - * @return ApiOperatorAddDutyPeriodForOperatorRequest - */ +OperatorAddDutyPeriodForOperator Adds a duty schedule to the specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator to add the duty schedule to + @return ApiOperatorAddDutyPeriodForOperatorRequest +*/ func (a *OperatorApiService) OperatorAddDutyPeriodForOperator(ctx _context.Context, operatorGuid string) ApiOperatorAddDutyPeriodForOperatorRequest { return ApiOperatorAddDutyPeriodForOperatorRequest{ ApiService: a, @@ -57,9 +59,7 @@ func (a *OperatorApiService) OperatorAddDutyPeriodForOperator(ctx _context.Conte } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorAddDutyPeriodForOperatorExecute(r ApiOperatorAddDutyPeriodForOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -156,6 +156,7 @@ type ApiOperatorCreateOperatorRequest struct { uptrendsOperator *Operator } +// The details of the operator to create func (r ApiOperatorCreateOperatorRequest) UptrendsOperator(uptrendsOperator Operator) ApiOperatorCreateOperatorRequest { r.uptrendsOperator = &uptrendsOperator return r @@ -166,10 +167,11 @@ func (r ApiOperatorCreateOperatorRequest) Execute() (Operator, *_nethttp.Respons } /* - * OperatorCreateOperator Creates a new operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiOperatorCreateOperatorRequest - */ +OperatorCreateOperator Creates a new operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiOperatorCreateOperatorRequest +*/ func (a *OperatorApiService) OperatorCreateOperator(ctx _context.Context) ApiOperatorCreateOperatorRequest { return ApiOperatorCreateOperatorRequest{ ApiService: a, @@ -177,10 +179,8 @@ func (a *OperatorApiService) OperatorCreateOperator(ctx _context.Context) ApiOpe } } -/* - * Execute executes the request - * @return Operator - */ +// Execute executes the request +// @return Operator func (a *OperatorApiService) OperatorCreateOperatorExecute(r ApiOperatorCreateOperatorRequest) (Operator, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -293,12 +293,13 @@ func (r ApiOperatorDeleteAuthorizationForOperatorRequest) Execute() (*_nethttp.R } /* - * OperatorDeleteAuthorizationForOperator Removes the specified authorization of this operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator - * @param authorizationType The type of authorization - * @return ApiOperatorDeleteAuthorizationForOperatorRequest - */ +OperatorDeleteAuthorizationForOperator Removes the specified authorization of this operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator + @param authorizationType The type of authorization + @return ApiOperatorDeleteAuthorizationForOperatorRequest +*/ func (a *OperatorApiService) OperatorDeleteAuthorizationForOperator(ctx _context.Context, operatorGuid string, authorizationType string) ApiOperatorDeleteAuthorizationForOperatorRequest { return ApiOperatorDeleteAuthorizationForOperatorRequest{ ApiService: a, @@ -308,9 +309,7 @@ func (a *OperatorApiService) OperatorDeleteAuthorizationForOperator(ctx _context } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorDeleteAuthorizationForOperatorExecute(r ApiOperatorDeleteAuthorizationForOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -410,12 +409,13 @@ func (r ApiOperatorDeleteDutyScheduleFromOperatorRequest) Execute() (*_nethttp.R } /* - * OperatorDeleteDutyScheduleFromOperator Deletes the specified duty schedule of the specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid - * @param dutyScheduleId - * @return ApiOperatorDeleteDutyScheduleFromOperatorRequest - */ +OperatorDeleteDutyScheduleFromOperator Deletes the specified duty schedule of the specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid + @param dutyScheduleId + @return ApiOperatorDeleteDutyScheduleFromOperatorRequest +*/ func (a *OperatorApiService) OperatorDeleteDutyScheduleFromOperator(ctx _context.Context, operatorGuid string, dutyScheduleId int32) ApiOperatorDeleteDutyScheduleFromOperatorRequest { return ApiOperatorDeleteDutyScheduleFromOperatorRequest{ ApiService: a, @@ -425,9 +425,7 @@ func (a *OperatorApiService) OperatorDeleteDutyScheduleFromOperator(ctx _context } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorDeleteDutyScheduleFromOperatorExecute(r ApiOperatorDeleteDutyScheduleFromOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -526,11 +524,12 @@ func (r ApiOperatorDeleteOperatorRequest) Execute() (*_nethttp.Response, error) } /* - * OperatorDeleteOperator Deletes an existing operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator to delete - * @return ApiOperatorDeleteOperatorRequest - */ +OperatorDeleteOperator Deletes an existing operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator to delete + @return ApiOperatorDeleteOperatorRequest +*/ func (a *OperatorApiService) OperatorDeleteOperator(ctx _context.Context, operatorGuid string) ApiOperatorDeleteOperatorRequest { return ApiOperatorDeleteOperatorRequest{ ApiService: a, @@ -539,9 +538,7 @@ func (a *OperatorApiService) OperatorDeleteOperator(ctx _context.Context, operat } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorDeleteOperatorExecute(r ApiOperatorDeleteOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -648,10 +645,11 @@ func (r ApiOperatorGetAllOperatorsRequest) Execute() ([]Operator, *_nethttp.Resp } /* - * OperatorGetAllOperators Gets a list of all operators. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiOperatorGetAllOperatorsRequest - */ +OperatorGetAllOperators Gets a list of all operators. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiOperatorGetAllOperatorsRequest +*/ func (a *OperatorApiService) OperatorGetAllOperators(ctx _context.Context) ApiOperatorGetAllOperatorsRequest { return ApiOperatorGetAllOperatorsRequest{ ApiService: a, @@ -659,10 +657,8 @@ func (a *OperatorApiService) OperatorGetAllOperators(ctx _context.Context) ApiOp } } -/* - * Execute executes the request - * @return []Operator - */ +// Execute executes the request +// @return []Operator func (a *OperatorApiService) OperatorGetAllOperatorsExecute(r ApiOperatorGetAllOperatorsRequest) ([]Operator, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -759,11 +755,12 @@ func (r ApiOperatorGetAuthorizationsForOperatorRequest) Execute() ([]OperatorAut } /* - * OperatorGetAuthorizationsForOperator Gets all authorizations for the specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator - * @return ApiOperatorGetAuthorizationsForOperatorRequest - */ +OperatorGetAuthorizationsForOperator Gets all authorizations for the specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator + @return ApiOperatorGetAuthorizationsForOperatorRequest +*/ func (a *OperatorApiService) OperatorGetAuthorizationsForOperator(ctx _context.Context, operatorGuid string) ApiOperatorGetAuthorizationsForOperatorRequest { return ApiOperatorGetAuthorizationsForOperatorRequest{ ApiService: a, @@ -772,10 +769,8 @@ func (a *OperatorApiService) OperatorGetAuthorizationsForOperator(ctx _context.C } } -/* - * Execute executes the request - * @return []OperatorAuthorizationType - */ +// Execute executes the request +// @return []OperatorAuthorizationType func (a *OperatorApiService) OperatorGetAuthorizationsForOperatorExecute(r ApiOperatorGetAuthorizationsForOperatorRequest) ([]OperatorAuthorizationType, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -883,11 +878,12 @@ func (r ApiOperatorGetDutyScheduleForOperatorRequest) Execute() ([]OperatorDutyS } /* - * OperatorGetDutyScheduleForOperator Gets the duty schedules for an specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator to get the duty schedule for - * @return ApiOperatorGetDutyScheduleForOperatorRequest - */ +OperatorGetDutyScheduleForOperator Gets the duty schedules for an specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator to get the duty schedule for + @return ApiOperatorGetDutyScheduleForOperatorRequest +*/ func (a *OperatorApiService) OperatorGetDutyScheduleForOperator(ctx _context.Context, operatorGuid string) ApiOperatorGetDutyScheduleForOperatorRequest { return ApiOperatorGetDutyScheduleForOperatorRequest{ ApiService: a, @@ -896,10 +892,8 @@ func (a *OperatorApiService) OperatorGetDutyScheduleForOperator(ctx _context.Con } } -/* - * Execute executes the request - * @return []OperatorDutySchedule - */ +// Execute executes the request +// @return []OperatorDutySchedule func (a *OperatorApiService) OperatorGetDutyScheduleForOperatorExecute(r ApiOperatorGetDutyScheduleForOperatorRequest) ([]OperatorDutySchedule, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1007,11 +1001,12 @@ func (r ApiOperatorGetOperatorRequest) Execute() (Operator, *_nethttp.Response, } /* - * OperatorGetOperator Gets the details of the operator with the provided OperatorGuid. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator for which to retrieve the details - * @return ApiOperatorGetOperatorRequest - */ +OperatorGetOperator Gets the details of the operator with the provided OperatorGuid. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator for which to retrieve the details + @return ApiOperatorGetOperatorRequest +*/ func (a *OperatorApiService) OperatorGetOperator(ctx _context.Context, operatorGuid string) ApiOperatorGetOperatorRequest { return ApiOperatorGetOperatorRequest{ ApiService: a, @@ -1020,10 +1015,8 @@ func (a *OperatorApiService) OperatorGetOperator(ctx _context.Context, operatorG } } -/* - * Execute executes the request - * @return Operator - */ +// Execute executes the request +// @return Operator func (a *OperatorApiService) OperatorGetOperatorExecute(r ApiOperatorGetOperatorRequest) (Operator, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1131,11 +1124,12 @@ func (r ApiOperatorGetOperatorGroupsForOperatorRequest) Execute() ([]OperatorMem } /* - * OperatorGetOperatorGroupsForOperator Gets a list of all operator groups for the specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator for which to retrieve the operator group guids - * @return ApiOperatorGetOperatorGroupsForOperatorRequest - */ +OperatorGetOperatorGroupsForOperator Gets a list of all operator groups for the specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator for which to retrieve the operator group guids + @return ApiOperatorGetOperatorGroupsForOperatorRequest +*/ func (a *OperatorApiService) OperatorGetOperatorGroupsForOperator(ctx _context.Context, operatorGuid string) ApiOperatorGetOperatorGroupsForOperatorRequest { return ApiOperatorGetOperatorGroupsForOperatorRequest{ ApiService: a, @@ -1144,10 +1138,8 @@ func (a *OperatorApiService) OperatorGetOperatorGroupsForOperator(ctx _context.C } } -/* - * Execute executes the request - * @return []OperatorMember - */ +// Execute executes the request +// @return []OperatorMember func (a *OperatorApiService) OperatorGetOperatorGroupsForOperatorExecute(r ApiOperatorGetOperatorGroupsForOperatorRequest) ([]OperatorMember, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1256,12 +1248,13 @@ func (r ApiOperatorPostAuthorizationForOperatorRequest) Execute() (*_nethttp.Res } /* - * OperatorPostAuthorizationForOperator Assigns the specified authorization to this operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator - * @param authorizationType The type of authorization - * @return ApiOperatorPostAuthorizationForOperatorRequest - */ +OperatorPostAuthorizationForOperator Assigns the specified authorization to this operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator + @param authorizationType The type of authorization + @return ApiOperatorPostAuthorizationForOperatorRequest +*/ func (a *OperatorApiService) OperatorPostAuthorizationForOperator(ctx _context.Context, operatorGuid string, authorizationType string) ApiOperatorPostAuthorizationForOperatorRequest { return ApiOperatorPostAuthorizationForOperatorRequest{ ApiService: a, @@ -1271,9 +1264,7 @@ func (a *OperatorApiService) OperatorPostAuthorizationForOperator(ctx _context.C } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorPostAuthorizationForOperatorExecute(r ApiOperatorPostAuthorizationForOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1378,12 +1369,13 @@ func (r ApiOperatorUpdateDutyPeriodForOperatorRequest) Execute() (*_nethttp.Resp } /* - * OperatorUpdateDutyPeriodForOperator Updates the specified duty schedule of the specified operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid - * @param dutyScheduleId - * @return ApiOperatorUpdateDutyPeriodForOperatorRequest - */ +OperatorUpdateDutyPeriodForOperator Updates the specified duty schedule of the specified operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid + @param dutyScheduleId + @return ApiOperatorUpdateDutyPeriodForOperatorRequest +*/ func (a *OperatorApiService) OperatorUpdateDutyPeriodForOperator(ctx _context.Context, operatorGuid string, dutyScheduleId int32) ApiOperatorUpdateDutyPeriodForOperatorRequest { return ApiOperatorUpdateDutyPeriodForOperatorRequest{ ApiService: a, @@ -1393,9 +1385,7 @@ func (a *OperatorApiService) OperatorUpdateDutyPeriodForOperator(ctx _context.Co } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorUpdateDutyPeriodForOperatorExecute(r ApiOperatorUpdateDutyPeriodForOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1494,6 +1484,7 @@ type ApiOperatorUpdateOperatorRequest struct { uptrendsOperator *Operator } +// The updated details of the operator func (r ApiOperatorUpdateOperatorRequest) UptrendsOperator(uptrendsOperator Operator) ApiOperatorUpdateOperatorRequest { r.uptrendsOperator = &uptrendsOperator return r @@ -1504,11 +1495,12 @@ func (r ApiOperatorUpdateOperatorRequest) Execute() (*_nethttp.Response, error) } /* - * OperatorUpdateOperator Updates an existing operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator to update - * @return ApiOperatorUpdateOperatorRequest - */ +OperatorUpdateOperator Updates an existing operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator to update + @return ApiOperatorUpdateOperatorRequest +*/ func (a *OperatorApiService) OperatorUpdateOperator(ctx _context.Context, operatorGuid string) ApiOperatorUpdateOperatorRequest { return ApiOperatorUpdateOperatorRequest{ ApiService: a, @@ -1517,9 +1509,7 @@ func (a *OperatorApiService) OperatorUpdateOperator(ctx _context.Context, operat } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorUpdateOperatorExecute(r ApiOperatorUpdateOperatorRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1617,6 +1607,7 @@ type ApiOperatorUpdateOperatorWithPatchRequest struct { uptrendsOperator *Operator } +// The updated details of the operator func (r ApiOperatorUpdateOperatorWithPatchRequest) UptrendsOperator(uptrendsOperator Operator) ApiOperatorUpdateOperatorWithPatchRequest { r.uptrendsOperator = &uptrendsOperator return r @@ -1627,11 +1618,12 @@ func (r ApiOperatorUpdateOperatorWithPatchRequest) Execute() (*_nethttp.Response } /* - * OperatorUpdateOperatorWithPatch Updates an existing operator. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGuid The Guid of the operator to update - * @return ApiOperatorUpdateOperatorWithPatchRequest - */ +OperatorUpdateOperatorWithPatch Updates an existing operator. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGuid The Guid of the operator to update + @return ApiOperatorUpdateOperatorWithPatchRequest +*/ func (a *OperatorApiService) OperatorUpdateOperatorWithPatch(ctx _context.Context, operatorGuid string) ApiOperatorUpdateOperatorWithPatchRequest { return ApiOperatorUpdateOperatorWithPatchRequest{ ApiService: a, @@ -1640,9 +1632,7 @@ func (a *OperatorApiService) OperatorUpdateOperatorWithPatch(ctx _context.Contex } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorApiService) OperatorUpdateOperatorWithPatchExecute(r ApiOperatorUpdateOperatorWithPatchRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch diff --git a/api_operator_group.go b/api_operator_group.go index 7449857..4788768 100644 --- a/api_operator_group.go +++ b/api_operator_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -44,11 +44,12 @@ func (r ApiOperatorGroupAddDutyScheduleToAllMembersRequest) Execute() (*_nethttp } /* - * OperatorGroupAddDutyScheduleToAllMembers Adds the provided duty schedule to all operators in the group specified - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid - * @return ApiOperatorGroupAddDutyScheduleToAllMembersRequest - */ +OperatorGroupAddDutyScheduleToAllMembers Adds the provided duty schedule to all operators in the group specified + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid + @return ApiOperatorGroupAddDutyScheduleToAllMembersRequest +*/ func (a *OperatorGroupApiService) OperatorGroupAddDutyScheduleToAllMembers(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupAddDutyScheduleToAllMembersRequest { return ApiOperatorGroupAddDutyScheduleToAllMembersRequest{ ApiService: a, @@ -57,9 +58,7 @@ func (a *OperatorGroupApiService) OperatorGroupAddDutyScheduleToAllMembers(ctx _ } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupAddDutyScheduleToAllMembersExecute(r ApiOperatorGroupAddDutyScheduleToAllMembersRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -163,12 +162,13 @@ func (r ApiOperatorGroupAddOperatorToOperatorGroupRequest) Execute() (*_nethttp. } /* - * OperatorGroupAddOperatorToOperatorGroup Adds the specified operator to the operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to add the operator to - * @param operatorGuid The operator Guid - * @return ApiOperatorGroupAddOperatorToOperatorGroupRequest - */ +OperatorGroupAddOperatorToOperatorGroup Adds the specified operator to the operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to add the operator to + @param operatorGuid The operator Guid + @return ApiOperatorGroupAddOperatorToOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupAddOperatorToOperatorGroup(ctx _context.Context, operatorGroupGuid string, operatorGuid string) ApiOperatorGroupAddOperatorToOperatorGroupRequest { return ApiOperatorGroupAddOperatorToOperatorGroupRequest{ ApiService: a, @@ -178,9 +178,7 @@ func (a *OperatorGroupApiService) OperatorGroupAddOperatorToOperatorGroup(ctx _c } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupAddOperatorToOperatorGroupExecute(r ApiOperatorGroupAddOperatorToOperatorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -279,11 +277,12 @@ func (r ApiOperatorGroupAllOperatorsInGroupOffDutyRequest) Execute() (*_nethttp. } /* - * OperatorGroupAllOperatorsInGroupOffDuty Set the OnDuty flag to off for all operators that are a member of the operator group specified by the operator group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The operator group GUID - * @return ApiOperatorGroupAllOperatorsInGroupOffDutyRequest - */ +OperatorGroupAllOperatorsInGroupOffDuty Set the OnDuty flag to off for all operators that are a member of the operator group specified by the operator group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The operator group GUID + @return ApiOperatorGroupAllOperatorsInGroupOffDutyRequest +*/ func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOffDuty(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupAllOperatorsInGroupOffDutyRequest { return ApiOperatorGroupAllOperatorsInGroupOffDutyRequest{ ApiService: a, @@ -292,9 +291,7 @@ func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOffDuty(ctx _c } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOffDutyExecute(r ApiOperatorGroupAllOperatorsInGroupOffDutyRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -392,11 +389,12 @@ func (r ApiOperatorGroupAllOperatorsInGroupOnDutyRequest) Execute() (*_nethttp.R } /* - * OperatorGroupAllOperatorsInGroupOnDuty Set the OnDuty flag to on for all operators that are a member of the operator group specified by the operator group GUID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The operator group GUID - * @return ApiOperatorGroupAllOperatorsInGroupOnDutyRequest - */ +OperatorGroupAllOperatorsInGroupOnDuty Set the OnDuty flag to on for all operators that are a member of the operator group specified by the operator group GUID + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The operator group GUID + @return ApiOperatorGroupAllOperatorsInGroupOnDutyRequest +*/ func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOnDuty(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupAllOperatorsInGroupOnDutyRequest { return ApiOperatorGroupAllOperatorsInGroupOnDutyRequest{ ApiService: a, @@ -405,9 +403,7 @@ func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOnDuty(ctx _co } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupAllOperatorsInGroupOnDutyExecute(r ApiOperatorGroupAllOperatorsInGroupOnDutyRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -510,12 +506,14 @@ func (r ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest) Execute() (O } /* - * OperatorGroupCreateAuthorizationForOperatorGroup Creates a new authorization for the specified operator group - * The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to an operator group. Therefore, either specify the OperatorGroupGuid attribute. The OperatorGuid attribute is not used for this endpoint - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group for which to create the new authorization. - * @return ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest - */ +OperatorGroupCreateAuthorizationForOperatorGroup Creates a new authorization for the specified operator group + +The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to an operator group. Therefore, either specify the OperatorGroupGuid attribute. The OperatorGuid attribute is not used for this endpoint + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group for which to create the new authorization. + @return ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupCreateAuthorizationForOperatorGroup(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest { return ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest{ ApiService: a, @@ -524,10 +522,8 @@ func (a *OperatorGroupApiService) OperatorGroupCreateAuthorizationForOperatorGro } } -/* - * Execute executes the request - * @return OperatorGroupAuthorization - */ +// Execute executes the request +// @return OperatorGroupAuthorization func (a *OperatorGroupApiService) OperatorGroupCreateAuthorizationForOperatorGroupExecute(r ApiOperatorGroupCreateAuthorizationForOperatorGroupRequest) (OperatorGroupAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -634,6 +630,7 @@ type ApiOperatorGroupCreateOperatorGroupRequest struct { operatorGroup *OperatorGroup } +// The operatorGroup object to be created func (r ApiOperatorGroupCreateOperatorGroupRequest) OperatorGroup(operatorGroup OperatorGroup) ApiOperatorGroupCreateOperatorGroupRequest { r.operatorGroup = &operatorGroup return r @@ -644,10 +641,11 @@ func (r ApiOperatorGroupCreateOperatorGroupRequest) Execute() (OperatorGroup, *_ } /* - * OperatorGroupCreateOperatorGroup Creates a new operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiOperatorGroupCreateOperatorGroupRequest - */ +OperatorGroupCreateOperatorGroup Creates a new operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiOperatorGroupCreateOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupCreateOperatorGroup(ctx _context.Context) ApiOperatorGroupCreateOperatorGroupRequest { return ApiOperatorGroupCreateOperatorGroupRequest{ ApiService: a, @@ -655,10 +653,8 @@ func (a *OperatorGroupApiService) OperatorGroupCreateOperatorGroup(ctx _context. } } -/* - * Execute executes the request - * @return OperatorGroup - */ +// Execute executes the request +// @return OperatorGroup func (a *OperatorGroupApiService) OperatorGroupCreateOperatorGroupExecute(r ApiOperatorGroupCreateOperatorGroupRequest) (OperatorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -761,12 +757,13 @@ func (r ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest) Execute() (* } /* - * OperatorGroupDeleteAuthorizationForOperatorGroup Deletes the specified authorization for the specified operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group for which the authorization should be deleted. - * @param authorizationGuid The Guid of the authorization that should be deleted. - * @return ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest - */ +OperatorGroupDeleteAuthorizationForOperatorGroup Deletes the specified authorization for the specified operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group for which the authorization should be deleted. + @param authorizationGuid The Guid of the authorization that should be deleted. + @return ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupDeleteAuthorizationForOperatorGroup(ctx _context.Context, operatorGroupGuid string, authorizationGuid string) ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest { return ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest{ ApiService: a, @@ -776,9 +773,7 @@ func (a *OperatorGroupApiService) OperatorGroupDeleteAuthorizationForOperatorGro } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupDeleteAuthorizationForOperatorGroupExecute(r ApiOperatorGroupDeleteAuthorizationForOperatorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -877,11 +872,12 @@ func (r ApiOperatorGroupDeleteOperatorGroupRequest) Execute() (*_nethttp.Respons } /* - * OperatorGroupDeleteOperatorGroup Deletes the specified operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to be deleted - * @return ApiOperatorGroupDeleteOperatorGroupRequest - */ +OperatorGroupDeleteOperatorGroup Deletes the specified operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to be deleted + @return ApiOperatorGroupDeleteOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupDeleteOperatorGroup(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupDeleteOperatorGroupRequest { return ApiOperatorGroupDeleteOperatorGroupRequest{ ApiService: a, @@ -890,9 +886,7 @@ func (a *OperatorGroupApiService) OperatorGroupDeleteOperatorGroup(ctx _context. } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupDeleteOperatorGroupExecute(r ApiOperatorGroupDeleteOperatorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -989,10 +983,11 @@ func (r ApiOperatorGroupGetAllOperatorGroupsRequest) Execute() ([]OperatorGroup, } /* - * OperatorGroupGetAllOperatorGroups Gets all operator groups - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiOperatorGroupGetAllOperatorGroupsRequest - */ +OperatorGroupGetAllOperatorGroups Gets all operator groups + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiOperatorGroupGetAllOperatorGroupsRequest +*/ func (a *OperatorGroupApiService) OperatorGroupGetAllOperatorGroups(ctx _context.Context) ApiOperatorGroupGetAllOperatorGroupsRequest { return ApiOperatorGroupGetAllOperatorGroupsRequest{ ApiService: a, @@ -1000,10 +995,8 @@ func (a *OperatorGroupApiService) OperatorGroupGetAllOperatorGroups(ctx _context } } -/* - * Execute executes the request - * @return []OperatorGroup - */ +// Execute executes the request +// @return []OperatorGroup func (a *OperatorGroupApiService) OperatorGroupGetAllOperatorGroupsExecute(r ApiOperatorGroupGetAllOperatorGroupsRequest) ([]OperatorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1100,11 +1093,12 @@ func (r ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest) Execute() (Ope } /* - * OperatorGroupGetAuthorizationsForOperatorGroup Returns all authorizations for the specified operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operatorgroup for which to return authorizations. - * @return ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest - */ +OperatorGroupGetAuthorizationsForOperatorGroup Returns all authorizations for the specified operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operatorgroup for which to return authorizations. + @return ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupGetAuthorizationsForOperatorGroup(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest { return ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest{ ApiService: a, @@ -1113,10 +1107,8 @@ func (a *OperatorGroupApiService) OperatorGroupGetAuthorizationsForOperatorGroup } } -/* - * Execute executes the request - * @return OperatorGroupAuthorization - */ +// Execute executes the request +// @return OperatorGroupAuthorization func (a *OperatorGroupApiService) OperatorGroupGetAuthorizationsForOperatorGroupExecute(r ApiOperatorGroupGetAuthorizationsForOperatorGroupRequest) (OperatorGroupAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1224,11 +1216,12 @@ func (r ApiOperatorGroupGetOperatorGroupRequest) Execute() (OperatorGroup, *_net } /* - * OperatorGroupGetOperatorGroup Gets the details of a operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to be retrieved - * @return ApiOperatorGroupGetOperatorGroupRequest - */ +OperatorGroupGetOperatorGroup Gets the details of a operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to be retrieved + @return ApiOperatorGroupGetOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroup(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupGetOperatorGroupRequest { return ApiOperatorGroupGetOperatorGroupRequest{ ApiService: a, @@ -1237,10 +1230,8 @@ func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroup(ctx _context.Con } } -/* - * Execute executes the request - * @return OperatorGroup - */ +// Execute executes the request +// @return OperatorGroup func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroupExecute(r ApiOperatorGroupGetOperatorGroupRequest) (OperatorGroup, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1348,11 +1339,12 @@ func (r ApiOperatorGroupGetOperatorGroupMembersRequest) Execute() (OperatorGroup } /* - * OperatorGroupGetOperatorGroupMembers Gets a list of all members of an operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to retrieve the members for - * @return ApiOperatorGroupGetOperatorGroupMembersRequest - */ +OperatorGroupGetOperatorGroupMembers Gets a list of all members of an operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to retrieve the members for + @return ApiOperatorGroupGetOperatorGroupMembersRequest +*/ func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroupMembers(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupGetOperatorGroupMembersRequest { return ApiOperatorGroupGetOperatorGroupMembersRequest{ ApiService: a, @@ -1361,10 +1353,8 @@ func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroupMembers(ctx _cont } } -/* - * Execute executes the request - * @return OperatorGroupMember - */ +// Execute executes the request +// @return OperatorGroupMember func (a *OperatorGroupApiService) OperatorGroupGetOperatorGroupMembersExecute(r ApiOperatorGroupGetOperatorGroupMembersRequest) (OperatorGroupMember, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1473,12 +1463,13 @@ func (r ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest) Execute() (*_net } /* - * OperatorGroupRemoveOperatorFromOperatorGroup Removes the specified operator from the operator group - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to remove the operator from - * @param operatorGuid The operator Guid to be removed - * @return ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest - */ +OperatorGroupRemoveOperatorFromOperatorGroup Removes the specified operator from the operator group + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to remove the operator from + @param operatorGuid The operator Guid to be removed + @return ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupRemoveOperatorFromOperatorGroup(ctx _context.Context, operatorGroupGuid string, operatorGuid string) ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest { return ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest{ ApiService: a, @@ -1488,9 +1479,7 @@ func (a *OperatorGroupApiService) OperatorGroupRemoveOperatorFromOperatorGroup(c } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupRemoveOperatorFromOperatorGroupExecute(r ApiOperatorGroupRemoveOperatorFromOperatorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -1584,6 +1573,7 @@ type ApiOperatorGroupUpdateOperatorGroupRequest struct { operatorGroup *OperatorGroup } +// The operator group to be updated func (r ApiOperatorGroupUpdateOperatorGroupRequest) OperatorGroup(operatorGroup OperatorGroup) ApiOperatorGroupUpdateOperatorGroupRequest { r.operatorGroup = &operatorGroup return r @@ -1594,11 +1584,12 @@ func (r ApiOperatorGroupUpdateOperatorGroupRequest) Execute() (*_nethttp.Respons } /* - * OperatorGroupUpdateOperatorGroup Updates the operator group with the Guid specified - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param operatorGroupGuid The Guid of the operator group to be updated - * @return ApiOperatorGroupUpdateOperatorGroupRequest - */ +OperatorGroupUpdateOperatorGroup Updates the operator group with the Guid specified + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param operatorGroupGuid The Guid of the operator group to be updated + @return ApiOperatorGroupUpdateOperatorGroupRequest +*/ func (a *OperatorGroupApiService) OperatorGroupUpdateOperatorGroup(ctx _context.Context, operatorGroupGuid string) ApiOperatorGroupUpdateOperatorGroupRequest { return ApiOperatorGroupUpdateOperatorGroupRequest{ ApiService: a, @@ -1607,9 +1598,7 @@ func (a *OperatorGroupApiService) OperatorGroupUpdateOperatorGroup(ctx _context. } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *OperatorGroupApiService) OperatorGroupUpdateOperatorGroupExecute(r ApiOperatorGroupUpdateOperatorGroupRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_public_status_page.go b/api_public_status_page.go index a5aa308..680b656 100644 --- a/api_public_status_page.go +++ b/api_public_status_page.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -34,6 +34,7 @@ type ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest struct { authorization *PSPAuthorization } +// The complete definition of the authorization that should be created. func (r ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest) Authorization(authorization PSPAuthorization) ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest { r.authorization = &authorization return r @@ -44,12 +45,14 @@ func (r ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest) Execute() } /* - * PublicStatusPageAddAuthorizationToPublicStatusPage Creates a new authorization for the specified public status page. - * The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to either an individual operator, or an operator group. Therefore, either specify the OperatorGuid attribute or the OperatorGroupGuid attribute. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page. - * @return ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest - */ +PublicStatusPageAddAuthorizationToPublicStatusPage Creates a new authorization for the specified public status page. + +The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to either an individual operator, or an operator group. Therefore, either specify the OperatorGuid attribute or the OperatorGroupGuid attribute. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page. + @return ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageAddAuthorizationToPublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest { return ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest{ ApiService: a, @@ -58,10 +61,8 @@ func (a *PublicStatusPageApiService) PublicStatusPageAddAuthorizationToPublicSta } } -/* - * Execute executes the request - * @return PSPAuthorization - */ +// Execute executes the request +// @return PSPAuthorization func (a *PublicStatusPageApiService) PublicStatusPageAddAuthorizationToPublicStatusPageExecute(r ApiPublicStatusPageAddAuthorizationToPublicStatusPageRequest) (PSPAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -174,11 +175,12 @@ func (r ApiPublicStatusPageDeletePublicStatusPageRequest) Execute() (*_nethttp.R } /* - * PublicStatusPageDeletePublicStatusPage Deletes the definition of the specified public status page. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page that should be updated. - * @return ApiPublicStatusPageDeletePublicStatusPageRequest - */ +PublicStatusPageDeletePublicStatusPage Deletes the definition of the specified public status page. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page that should be updated. + @return ApiPublicStatusPageDeletePublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageDeletePublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPageDeletePublicStatusPageRequest { return ApiPublicStatusPageDeletePublicStatusPageRequest{ ApiService: a, @@ -187,9 +189,7 @@ func (a *PublicStatusPageApiService) PublicStatusPageDeletePublicStatusPage(ctx } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *PublicStatusPageApiService) PublicStatusPageDeletePublicStatusPageExecute(r ApiPublicStatusPageDeletePublicStatusPageRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -287,11 +287,12 @@ func (r ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest) Execute( } /* - * PublicStatusPageGetAuthorizationsForPublicStatusPage Returns all authorizations for the specified public status page. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page. - * @return ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest - */ +PublicStatusPageGetAuthorizationsForPublicStatusPage Returns all authorizations for the specified public status page. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page. + @return ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageGetAuthorizationsForPublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest { return ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest{ ApiService: a, @@ -300,10 +301,8 @@ func (a *PublicStatusPageApiService) PublicStatusPageGetAuthorizationsForPublicS } } -/* - * Execute executes the request - * @return []PSPAuthorization - */ +// Execute executes the request +// @return []PSPAuthorization func (a *PublicStatusPageApiService) PublicStatusPageGetAuthorizationsForPublicStatusPageExecute(r ApiPublicStatusPageGetAuthorizationsForPublicStatusPageRequest) ([]PSPAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -411,11 +410,12 @@ func (r ApiPublicStatusPageGetPublicStatusPageRequest) Execute() (PublicStatusPa } /* - * PublicStatusPageGetPublicStatusPage Returns the definition of the specified public status page. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the requested public status page. - * @return ApiPublicStatusPageGetPublicStatusPageRequest - */ +PublicStatusPageGetPublicStatusPage Returns the definition of the specified public status page. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the requested public status page. + @return ApiPublicStatusPageGetPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPageGetPublicStatusPageRequest { return ApiPublicStatusPageGetPublicStatusPageRequest{ ApiService: a, @@ -424,10 +424,8 @@ func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPage(ctx _co } } -/* - * Execute executes the request - * @return PublicStatusPage - */ +// Execute executes the request +// @return PublicStatusPage func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPageExecute(r ApiPublicStatusPageGetPublicStatusPageRequest) (PublicStatusPage, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -534,10 +532,11 @@ func (r ApiPublicStatusPageGetPublicStatusPagesRequest) Execute() ([]PublicStatu } /* - * PublicStatusPageGetPublicStatusPages Returns the definition of all public status pages available in the account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiPublicStatusPageGetPublicStatusPagesRequest - */ +PublicStatusPageGetPublicStatusPages Returns the definition of all public status pages available in the account. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPublicStatusPageGetPublicStatusPagesRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPages(ctx _context.Context) ApiPublicStatusPageGetPublicStatusPagesRequest { return ApiPublicStatusPageGetPublicStatusPagesRequest{ ApiService: a, @@ -545,10 +544,8 @@ func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPages(ctx _c } } -/* - * Execute executes the request - * @return []PublicStatusPage - */ +// Execute executes the request +// @return []PublicStatusPage func (a *PublicStatusPageApiService) PublicStatusPageGetPublicStatusPagesExecute(r ApiPublicStatusPageGetPublicStatusPagesRequest) ([]PublicStatusPage, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -640,6 +637,7 @@ type ApiPublicStatusPagePatchPublicStatusPageRequest struct { publicStatusPage *PublicStatusPage } +// The partial definition for the public status page that should be updated. func (r ApiPublicStatusPagePatchPublicStatusPageRequest) PublicStatusPage(publicStatusPage PublicStatusPage) ApiPublicStatusPagePatchPublicStatusPageRequest { r.publicStatusPage = &publicStatusPage return r @@ -650,12 +648,14 @@ func (r ApiPublicStatusPagePatchPublicStatusPageRequest) Execute() (*_nethttp.Re } /* - * PublicStatusPagePatchPublicStatusPage Partially updates the definition of the specified public status page. - * This methods accepts parts of a public status page definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page that should be updated. - * @return ApiPublicStatusPagePatchPublicStatusPageRequest - */ +PublicStatusPagePatchPublicStatusPage Partially updates the definition of the specified public status page. + +This methods accepts parts of a public status page definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page that should be updated. + @return ApiPublicStatusPagePatchPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPagePatchPublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPagePatchPublicStatusPageRequest { return ApiPublicStatusPagePatchPublicStatusPageRequest{ ApiService: a, @@ -664,9 +664,7 @@ func (a *PublicStatusPageApiService) PublicStatusPagePatchPublicStatusPage(ctx _ } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *PublicStatusPageApiService) PublicStatusPagePatchPublicStatusPageExecute(r ApiPublicStatusPagePatchPublicStatusPageRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -763,6 +761,7 @@ type ApiPublicStatusPagePostPublicStatusPageRequest struct { publicStatusPage *PublicStatusPage } +// The complete definition for the public status page that should be updated. func (r ApiPublicStatusPagePostPublicStatusPageRequest) PublicStatusPage(publicStatusPage PublicStatusPage) ApiPublicStatusPagePostPublicStatusPageRequest { r.publicStatusPage = &publicStatusPage return r @@ -773,10 +772,11 @@ func (r ApiPublicStatusPagePostPublicStatusPageRequest) Execute() (PublicStatusP } /* - * PublicStatusPagePostPublicStatusPage Creates a new public status page. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiPublicStatusPagePostPublicStatusPageRequest - */ +PublicStatusPagePostPublicStatusPage Creates a new public status page. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPublicStatusPagePostPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPagePostPublicStatusPage(ctx _context.Context) ApiPublicStatusPagePostPublicStatusPageRequest { return ApiPublicStatusPagePostPublicStatusPageRequest{ ApiService: a, @@ -784,10 +784,8 @@ func (a *PublicStatusPageApiService) PublicStatusPagePostPublicStatusPage(ctx _c } } -/* - * Execute executes the request - * @return PublicStatusPage - */ +// Execute executes the request +// @return PublicStatusPage func (a *PublicStatusPageApiService) PublicStatusPagePostPublicStatusPageExecute(r ApiPublicStatusPagePostPublicStatusPageRequest) (PublicStatusPage, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -894,6 +892,7 @@ type ApiPublicStatusPagePutPublicStatusPageRequest struct { publicStatusPage *PublicStatusPage } +// The complete definition for the public status page that should be updated. func (r ApiPublicStatusPagePutPublicStatusPageRequest) PublicStatusPage(publicStatusPage PublicStatusPage) ApiPublicStatusPagePutPublicStatusPageRequest { r.publicStatusPage = &publicStatusPage return r @@ -904,12 +903,14 @@ func (r ApiPublicStatusPagePutPublicStatusPageRequest) Execute() (*_nethttp.Resp } /* - * PublicStatusPagePutPublicStatusPage Updates the definition of the specified public status page. - * This methods only accepts a complete public status page definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page that should be updated. - * @return ApiPublicStatusPagePutPublicStatusPageRequest - */ +PublicStatusPagePutPublicStatusPage Updates the definition of the specified public status page. + +This methods only accepts a complete public status page definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page that should be updated. + @return ApiPublicStatusPagePutPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPagePutPublicStatusPage(ctx _context.Context, publicStatusPageGuid string) ApiPublicStatusPagePutPublicStatusPageRequest { return ApiPublicStatusPagePutPublicStatusPageRequest{ ApiService: a, @@ -918,9 +919,7 @@ func (a *PublicStatusPageApiService) PublicStatusPagePutPublicStatusPage(ctx _co } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *PublicStatusPageApiService) PublicStatusPagePutPublicStatusPageExecute(r ApiPublicStatusPagePutPublicStatusPageRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1024,12 +1023,13 @@ func (r ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest) Execu } /* - * PublicStatusPageRemoveAuthorizationFromPublicStatusPage Removes an authorization from a public status page. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param publicStatusPageGuid The Guid of the public status page. - * @param authorizationGuid The Guid of the authorization. - * @return ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest - */ +PublicStatusPageRemoveAuthorizationFromPublicStatusPage Removes an authorization from a public status page. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param publicStatusPageGuid The Guid of the public status page. + @param authorizationGuid The Guid of the authorization. + @return ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest +*/ func (a *PublicStatusPageApiService) PublicStatusPageRemoveAuthorizationFromPublicStatusPage(ctx _context.Context, publicStatusPageGuid string, authorizationGuid string) ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest { return ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest{ ApiService: a, @@ -1039,9 +1039,7 @@ func (a *PublicStatusPageApiService) PublicStatusPageRemoveAuthorizationFromPubl } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *PublicStatusPageApiService) PublicStatusPageRemoveAuthorizationFromPublicStatusPageExecute(r ApiPublicStatusPageRemoveAuthorizationFromPublicStatusPageRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete diff --git a/api_register.go b/api_register.go index d9f7da9..87acb52 100644 --- a/api_register.go +++ b/api_register.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -37,11 +37,13 @@ func (r ApiRegisterPostRequest) Execute() (RegistrationResponse, *_nethttp.Respo } /* - * RegisterPost Creates a new API account. - * This method requires that you specify the username and password of an Uptrends operator login as authentication. When registration is successful, please save the UserName and Password fields from the response; these are your new API credentials. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiRegisterPostRequest - */ +RegisterPost Creates a new API account. + +This method requires that you specify the username and password of an Uptrends operator login as authentication. When registration is successful, please save the UserName and Password fields from the response; these are your new API credentials. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRegisterPostRequest +*/ func (a *RegisterApiService) RegisterPost(ctx _context.Context) ApiRegisterPostRequest { return ApiRegisterPostRequest{ ApiService: a, @@ -49,10 +51,8 @@ func (a *RegisterApiService) RegisterPost(ctx _context.Context) ApiRegisterPostR } } -/* - * Execute executes the request - * @return RegistrationResponse - */ +// Execute executes the request +// @return RegistrationResponse func (a *RegisterApiService) RegisterPostExecute(r ApiRegisterPostRequest) (RegistrationResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost diff --git a/api_scheduled_report.go b/api_scheduled_report.go index fe83c16..1a01c6d 100644 --- a/api_scheduled_report.go +++ b/api_scheduled_report.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -33,6 +33,7 @@ type ApiScheduledReportCreateScheduledReportRequest struct { scheduledReport *ScheduledReport } +// The details for the scheduled report. func (r ApiScheduledReportCreateScheduledReportRequest) ScheduledReport(scheduledReport ScheduledReport) ApiScheduledReportCreateScheduledReportRequest { r.scheduledReport = &scheduledReport return r @@ -43,10 +44,11 @@ func (r ApiScheduledReportCreateScheduledReportRequest) Execute() (ScheduledRepo } /* - * ScheduledReportCreateScheduledReport Creates a new scheduled report. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiScheduledReportCreateScheduledReportRequest - */ +ScheduledReportCreateScheduledReport Creates a new scheduled report. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiScheduledReportCreateScheduledReportRequest +*/ func (a *ScheduledReportApiService) ScheduledReportCreateScheduledReport(ctx _context.Context) ApiScheduledReportCreateScheduledReportRequest { return ApiScheduledReportCreateScheduledReportRequest{ ApiService: a, @@ -54,10 +56,8 @@ func (a *ScheduledReportApiService) ScheduledReportCreateScheduledReport(ctx _co } } -/* - * Execute executes the request - * @return ScheduledReport - */ +// Execute executes the request +// @return ScheduledReport func (a *ScheduledReportApiService) ScheduledReportCreateScheduledReportExecute(r ApiScheduledReportCreateScheduledReportRequest) (ScheduledReport, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -159,11 +159,12 @@ func (r ApiScheduledReportDeleteSpecifiedScheduledReportRequest) Execute() (*_ne } /* - * ScheduledReportDeleteSpecifiedScheduledReport Delete the specified scheduled report. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scheduledReportGuid The guid of the specified scheduled report. - * @return ApiScheduledReportDeleteSpecifiedScheduledReportRequest - */ +ScheduledReportDeleteSpecifiedScheduledReport Delete the specified scheduled report. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param scheduledReportGuid The guid of the specified scheduled report. + @return ApiScheduledReportDeleteSpecifiedScheduledReportRequest +*/ func (a *ScheduledReportApiService) ScheduledReportDeleteSpecifiedScheduledReport(ctx _context.Context, scheduledReportGuid string) ApiScheduledReportDeleteSpecifiedScheduledReportRequest { return ApiScheduledReportDeleteSpecifiedScheduledReportRequest{ ApiService: a, @@ -172,9 +173,7 @@ func (a *ScheduledReportApiService) ScheduledReportDeleteSpecifiedScheduledRepor } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *ScheduledReportApiService) ScheduledReportDeleteSpecifiedScheduledReportExecute(r ApiScheduledReportDeleteSpecifiedScheduledReportRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -271,10 +270,11 @@ func (r ApiScheduledReportGetAllScheduledReportsRequest) Execute() ([]ScheduledR } /* - * ScheduledReportGetAllScheduledReports Returns data for all scheduled reports. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiScheduledReportGetAllScheduledReportsRequest - */ +ScheduledReportGetAllScheduledReports Returns data for all scheduled reports. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiScheduledReportGetAllScheduledReportsRequest +*/ func (a *ScheduledReportApiService) ScheduledReportGetAllScheduledReports(ctx _context.Context) ApiScheduledReportGetAllScheduledReportsRequest { return ApiScheduledReportGetAllScheduledReportsRequest{ ApiService: a, @@ -282,10 +282,8 @@ func (a *ScheduledReportApiService) ScheduledReportGetAllScheduledReports(ctx _c } } -/* - * Execute executes the request - * @return []ScheduledReport - */ +// Execute executes the request +// @return []ScheduledReport func (a *ScheduledReportApiService) ScheduledReportGetAllScheduledReportsExecute(r ApiScheduledReportGetAllScheduledReportsRequest) ([]ScheduledReport, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -382,11 +380,12 @@ func (r ApiScheduledReportGetSpecifiedScheduledReportRequest) Execute() (Schedul } /* - * ScheduledReportGetSpecifiedScheduledReport Returns data for the specified scheduled report. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scheduledReportGuid The guid of the specified scheduled report. - * @return ApiScheduledReportGetSpecifiedScheduledReportRequest - */ +ScheduledReportGetSpecifiedScheduledReport Returns data for the specified scheduled report. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param scheduledReportGuid The guid of the specified scheduled report. + @return ApiScheduledReportGetSpecifiedScheduledReportRequest +*/ func (a *ScheduledReportApiService) ScheduledReportGetSpecifiedScheduledReport(ctx _context.Context, scheduledReportGuid string) ApiScheduledReportGetSpecifiedScheduledReportRequest { return ApiScheduledReportGetSpecifiedScheduledReportRequest{ ApiService: a, @@ -395,10 +394,8 @@ func (a *ScheduledReportApiService) ScheduledReportGetSpecifiedScheduledReport(c } } -/* - * Execute executes the request - * @return ScheduledReport - */ +// Execute executes the request +// @return ScheduledReport func (a *ScheduledReportApiService) ScheduledReportGetSpecifiedScheduledReportExecute(r ApiScheduledReportGetSpecifiedScheduledReportRequest) (ScheduledReport, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -501,6 +498,7 @@ type ApiScheduledReportPartiallyUpdateScheduledReportRequest struct { scheduledReport *ScheduledReport } +// The details for the scheduled report. func (r ApiScheduledReportPartiallyUpdateScheduledReportRequest) ScheduledReport(scheduledReport ScheduledReport) ApiScheduledReportPartiallyUpdateScheduledReportRequest { r.scheduledReport = &scheduledReport return r @@ -511,11 +509,12 @@ func (r ApiScheduledReportPartiallyUpdateScheduledReportRequest) Execute() (Sche } /* - * ScheduledReportPartiallyUpdateScheduledReport Partially update the specified scheduled report. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scheduledReportGuid The guid of the specified scheduled report. - * @return ApiScheduledReportPartiallyUpdateScheduledReportRequest - */ +ScheduledReportPartiallyUpdateScheduledReport Partially update the specified scheduled report. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param scheduledReportGuid The guid of the specified scheduled report. + @return ApiScheduledReportPartiallyUpdateScheduledReportRequest +*/ func (a *ScheduledReportApiService) ScheduledReportPartiallyUpdateScheduledReport(ctx _context.Context, scheduledReportGuid string) ApiScheduledReportPartiallyUpdateScheduledReportRequest { return ApiScheduledReportPartiallyUpdateScheduledReportRequest{ ApiService: a, @@ -524,10 +523,8 @@ func (a *ScheduledReportApiService) ScheduledReportPartiallyUpdateScheduledRepor } } -/* - * Execute executes the request - * @return ScheduledReport - */ +// Execute executes the request +// @return ScheduledReport func (a *ScheduledReportApiService) ScheduledReportPartiallyUpdateScheduledReportExecute(r ApiScheduledReportPartiallyUpdateScheduledReportRequest) (ScheduledReport, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -635,6 +632,7 @@ type ApiScheduledReportUpdateScheduledReportRequest struct { scheduledReport *ScheduledReport } +// The details for the scheduled report. func (r ApiScheduledReportUpdateScheduledReportRequest) ScheduledReport(scheduledReport ScheduledReport) ApiScheduledReportUpdateScheduledReportRequest { r.scheduledReport = &scheduledReport return r @@ -645,11 +643,12 @@ func (r ApiScheduledReportUpdateScheduledReportRequest) Execute() (ScheduledRepo } /* - * ScheduledReportUpdateScheduledReport Update the specified scheduled report. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scheduledReportGuid The guid of the specified scheduled report. - * @return ApiScheduledReportUpdateScheduledReportRequest - */ +ScheduledReportUpdateScheduledReport Update the specified scheduled report. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param scheduledReportGuid The guid of the specified scheduled report. + @return ApiScheduledReportUpdateScheduledReportRequest +*/ func (a *ScheduledReportApiService) ScheduledReportUpdateScheduledReport(ctx _context.Context, scheduledReportGuid string) ApiScheduledReportUpdateScheduledReportRequest { return ApiScheduledReportUpdateScheduledReportRequest{ ApiService: a, @@ -658,10 +657,8 @@ func (a *ScheduledReportApiService) ScheduledReportUpdateScheduledReport(ctx _co } } -/* - * Execute executes the request - * @return ScheduledReport - */ +// Execute executes the request +// @return ScheduledReport func (a *ScheduledReportApiService) ScheduledReportUpdateScheduledReportExecute(r ApiScheduledReportUpdateScheduledReportRequest) (ScheduledReport, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_sla.go b/api_sla.go index 54b6394..e9af3b6 100644 --- a/api_sla.go +++ b/api_sla.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -33,6 +33,7 @@ type ApiSlaCreateSlaRequest struct { sla *Sla } +// The complete SLA definition that should be created. func (r ApiSlaCreateSlaRequest) Sla(sla Sla) ApiSlaCreateSlaRequest { r.sla = &sla return r @@ -43,10 +44,11 @@ func (r ApiSlaCreateSlaRequest) Execute() (Sla, *_nethttp.Response, error) { } /* - * SlaCreateSla Creates a new SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiSlaCreateSlaRequest - */ +SlaCreateSla Creates a new SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSlaCreateSlaRequest +*/ func (a *SLAApiService) SlaCreateSla(ctx _context.Context) ApiSlaCreateSlaRequest { return ApiSlaCreateSlaRequest{ ApiService: a, @@ -54,10 +56,8 @@ func (a *SLAApiService) SlaCreateSla(ctx _context.Context) ApiSlaCreateSlaReques } } -/* - * Execute executes the request - * @return Sla - */ +// Execute executes the request +// @return Sla func (a *SLAApiService) SlaCreateSlaExecute(r ApiSlaCreateSlaRequest) (Sla, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -170,12 +170,13 @@ func (r ApiSlaDeleteExclusionPeriodRequest) Execute() (*_nethttp.Response, error } /* - * SlaDeleteExclusionPeriod Deletes the specified exclusion period for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the sla definition. - * @param exclusionPeriodId The id of the exclusion period. - * @return ApiSlaDeleteExclusionPeriodRequest - */ +SlaDeleteExclusionPeriod Deletes the specified exclusion period for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the sla definition. + @param exclusionPeriodId The id of the exclusion period. + @return ApiSlaDeleteExclusionPeriodRequest +*/ func (a *SLAApiService) SlaDeleteExclusionPeriod(ctx _context.Context, slaGuid string, exclusionPeriodId int32) ApiSlaDeleteExclusionPeriodRequest { return ApiSlaDeleteExclusionPeriodRequest{ ApiService: a, @@ -185,9 +186,7 @@ func (a *SLAApiService) SlaDeleteExclusionPeriod(ctx _context.Context, slaGuid s } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaDeleteExclusionPeriodExecute(r ApiSlaDeleteExclusionPeriodRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -286,11 +285,12 @@ func (r ApiSlaDeleteSlaRequest) Execute() (*_nethttp.Response, error) { } /* - * SlaDeleteSla Deletes the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition that should be deleted. - * @return ApiSlaDeleteSlaRequest - */ +SlaDeleteSla Deletes the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition that should be deleted. + @return ApiSlaDeleteSlaRequest +*/ func (a *SLAApiService) SlaDeleteSla(ctx _context.Context, slaGuid string) ApiSlaDeleteSlaRequest { return ApiSlaDeleteSlaRequest{ ApiService: a, @@ -299,9 +299,7 @@ func (a *SLAApiService) SlaDeleteSla(ctx _context.Context, slaGuid string) ApiSl } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaDeleteSlaExecute(r ApiSlaDeleteSlaRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -410,12 +408,13 @@ func (r ApiSlaGetExclusionPeriodRequest) Execute() (ExclusionPeriod, *_nethttp.R } /* - * SlaGetExclusionPeriod Gets the specified exclusion period for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @param exclusionPeriodId The id of the exclusion period. - * @return ApiSlaGetExclusionPeriodRequest - */ +SlaGetExclusionPeriod Gets the specified exclusion period for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @param exclusionPeriodId The id of the exclusion period. + @return ApiSlaGetExclusionPeriodRequest +*/ func (a *SLAApiService) SlaGetExclusionPeriod(ctx _context.Context, slaGuid string, exclusionPeriodId int32) ApiSlaGetExclusionPeriodRequest { return ApiSlaGetExclusionPeriodRequest{ ApiService: a, @@ -425,10 +424,8 @@ func (a *SLAApiService) SlaGetExclusionPeriod(ctx _context.Context, slaGuid stri } } -/* - * Execute executes the request - * @return ExclusionPeriod - */ +// Execute executes the request +// @return ExclusionPeriod func (a *SLAApiService) SlaGetExclusionPeriodExecute(r ApiSlaGetExclusionPeriodRequest) (ExclusionPeriod, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -537,11 +534,12 @@ func (r ApiSlaGetExclusionPeriodsRequest) Execute() ([]ExclusionPeriod, *_nethtt } /* - * SlaGetExclusionPeriods Gets a list of all exclusion periods for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @return ApiSlaGetExclusionPeriodsRequest - */ +SlaGetExclusionPeriods Gets a list of all exclusion periods for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @return ApiSlaGetExclusionPeriodsRequest +*/ func (a *SLAApiService) SlaGetExclusionPeriods(ctx _context.Context, slaGuid string) ApiSlaGetExclusionPeriodsRequest { return ApiSlaGetExclusionPeriodsRequest{ ApiService: a, @@ -550,10 +548,8 @@ func (a *SLAApiService) SlaGetExclusionPeriods(ctx _context.Context, slaGuid str } } -/* - * Execute executes the request - * @return []ExclusionPeriod - */ +// Execute executes the request +// @return []ExclusionPeriod func (a *SLAApiService) SlaGetExclusionPeriodsExecute(r ApiSlaGetExclusionPeriodsRequest) ([]ExclusionPeriod, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -661,11 +657,12 @@ func (r ApiSlaGetSlaRequest) Execute() (Sla, *_nethttp.Response, error) { } /* - * SlaGetSla Gets the specified SLA definition. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @return ApiSlaGetSlaRequest - */ +SlaGetSla Gets the specified SLA definition. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @return ApiSlaGetSlaRequest +*/ func (a *SLAApiService) SlaGetSla(ctx _context.Context, slaGuid string) ApiSlaGetSlaRequest { return ApiSlaGetSlaRequest{ ApiService: a, @@ -674,10 +671,8 @@ func (a *SLAApiService) SlaGetSla(ctx _context.Context, slaGuid string) ApiSlaGe } } -/* - * Execute executes the request - * @return Sla - */ +// Execute executes the request +// @return Sla func (a *SLAApiService) SlaGetSlaExecute(r ApiSlaGetSlaRequest) (Sla, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -794,10 +789,11 @@ func (r ApiSlaGetSlasRequest) Execute() ([]Sla, *_nethttp.Response, error) { } /* - * SlaGetSlas Gets a list of all SLA definitions. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiSlaGetSlasRequest - */ +SlaGetSlas Gets a list of all SLA definitions. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSlaGetSlasRequest +*/ func (a *SLAApiService) SlaGetSlas(ctx _context.Context) ApiSlaGetSlasRequest { return ApiSlaGetSlasRequest{ ApiService: a, @@ -805,10 +801,8 @@ func (a *SLAApiService) SlaGetSlas(ctx _context.Context) ApiSlaGetSlasRequest { } } -/* - * Execute executes the request - * @return []Sla - */ +// Execute executes the request +// @return []Sla func (a *SLAApiService) SlaGetSlasExecute(r ApiSlaGetSlasRequest) ([]Sla, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -901,6 +895,7 @@ type ApiSlaPatchExclusionPeriodRequest struct { exclusionPeriod *ExclusionPeriod } +// The complete definition of the exclusion period. func (r ApiSlaPatchExclusionPeriodRequest) ExclusionPeriod(exclusionPeriod ExclusionPeriod) ApiSlaPatchExclusionPeriodRequest { r.exclusionPeriod = &exclusionPeriod return r @@ -911,12 +906,13 @@ func (r ApiSlaPatchExclusionPeriodRequest) Execute() (*_nethttp.Response, error) } /* - * SlaPatchExclusionPeriod Partially updates the specified exclusion period for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @param exclusionPeriodId The id of the exclusion period. - * @return ApiSlaPatchExclusionPeriodRequest - */ +SlaPatchExclusionPeriod Partially updates the specified exclusion period for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @param exclusionPeriodId The id of the exclusion period. + @return ApiSlaPatchExclusionPeriodRequest +*/ func (a *SLAApiService) SlaPatchExclusionPeriod(ctx _context.Context, slaGuid string, exclusionPeriodId int32) ApiSlaPatchExclusionPeriodRequest { return ApiSlaPatchExclusionPeriodRequest{ ApiService: a, @@ -926,9 +922,7 @@ func (a *SLAApiService) SlaPatchExclusionPeriod(ctx _context.Context, slaGuid st } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaPatchExclusionPeriodExecute(r ApiSlaPatchExclusionPeriodRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -1027,6 +1021,7 @@ type ApiSlaPatchSlaRequest struct { sla *Sla } +// The partial definition for the SLA that should be updated. func (r ApiSlaPatchSlaRequest) Sla(sla Sla) ApiSlaPatchSlaRequest { r.sla = &sla return r @@ -1037,12 +1032,14 @@ func (r ApiSlaPatchSlaRequest) Execute() (*_nethttp.Response, error) { } /* - * SlaPatchSla Partially updates the definition of the specified SLA. - * This methods accepts parts of a SLA definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA that should be updated. - * @return ApiSlaPatchSlaRequest - */ +SlaPatchSla Partially updates the definition of the specified SLA. + +This methods accepts parts of a SLA definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back these changes only using this PATCH method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA that should be updated. + @return ApiSlaPatchSlaRequest +*/ func (a *SLAApiService) SlaPatchSla(ctx _context.Context, slaGuid string) ApiSlaPatchSlaRequest { return ApiSlaPatchSlaRequest{ ApiService: a, @@ -1051,9 +1048,7 @@ func (a *SLAApiService) SlaPatchSla(ctx _context.Context, slaGuid string) ApiSla } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaPatchSlaExecute(r ApiSlaPatchSlaRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -1151,6 +1146,7 @@ type ApiSlaPostExclusionPeriodRequest struct { exclusionPeriod *ExclusionPeriod } +// The complete definition of the exclusion period. func (r ApiSlaPostExclusionPeriodRequest) ExclusionPeriod(exclusionPeriod ExclusionPeriod) ApiSlaPostExclusionPeriodRequest { r.exclusionPeriod = &exclusionPeriod return r @@ -1161,11 +1157,12 @@ func (r ApiSlaPostExclusionPeriodRequest) Execute() (ExclusionPeriod, *_nethttp. } /* - * SlaPostExclusionPeriod Creates a new exclusion period for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @return ApiSlaPostExclusionPeriodRequest - */ +SlaPostExclusionPeriod Creates a new exclusion period for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @return ApiSlaPostExclusionPeriodRequest +*/ func (a *SLAApiService) SlaPostExclusionPeriod(ctx _context.Context, slaGuid string) ApiSlaPostExclusionPeriodRequest { return ApiSlaPostExclusionPeriodRequest{ ApiService: a, @@ -1174,10 +1171,8 @@ func (a *SLAApiService) SlaPostExclusionPeriod(ctx _context.Context, slaGuid str } } -/* - * Execute executes the request - * @return ExclusionPeriod - */ +// Execute executes the request +// @return ExclusionPeriod func (a *SLAApiService) SlaPostExclusionPeriodExecute(r ApiSlaPostExclusionPeriodRequest) (ExclusionPeriod, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -1286,6 +1281,7 @@ type ApiSlaPutExclusionPeriodRequest struct { exclusionPeriod *ExclusionPeriod } +// The complete definition of the exclusion period. func (r ApiSlaPutExclusionPeriodRequest) ExclusionPeriod(exclusionPeriod ExclusionPeriod) ApiSlaPutExclusionPeriodRequest { r.exclusionPeriod = &exclusionPeriod return r @@ -1296,12 +1292,13 @@ func (r ApiSlaPutExclusionPeriodRequest) Execute() (*_nethttp.Response, error) { } /* - * SlaPutExclusionPeriod Updates the specified exclusion period for the specified SLA. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA definition. - * @param exclusionPeriodId The id of the exclusion period. - * @return ApiSlaPutExclusionPeriodRequest - */ +SlaPutExclusionPeriod Updates the specified exclusion period for the specified SLA. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA definition. + @param exclusionPeriodId The id of the exclusion period. + @return ApiSlaPutExclusionPeriodRequest +*/ func (a *SLAApiService) SlaPutExclusionPeriod(ctx _context.Context, slaGuid string, exclusionPeriodId int32) ApiSlaPutExclusionPeriodRequest { return ApiSlaPutExclusionPeriodRequest{ ApiService: a, @@ -1311,9 +1308,7 @@ func (a *SLAApiService) SlaPutExclusionPeriod(ctx _context.Context, slaGuid stri } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaPutExclusionPeriodExecute(r ApiSlaPutExclusionPeriodRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1412,6 +1407,7 @@ type ApiSlaPutSlaRequest struct { sla *Sla } +// The complete definition for the SLA that should be updated. func (r ApiSlaPutSlaRequest) Sla(sla Sla) ApiSlaPutSlaRequest { r.sla = &sla return r @@ -1422,12 +1418,14 @@ func (r ApiSlaPutSlaRequest) Execute() (*_nethttp.Response, error) { } /* - * SlaPutSla Updates the definition of the specified SLA. - * This methods only accepts a complete SLA definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param slaGuid The Guid of the SLA that should be updated. - * @return ApiSlaPutSlaRequest - */ +SlaPutSla Updates the definition of the specified SLA. + +This methods only accepts a complete SLA definition. We recommend retrieving the existing definition first (using the GET method). You can then process the changes you want to make and send back the updated definition using this PUT method. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param slaGuid The Guid of the SLA that should be updated. + @return ApiSlaPutSlaRequest +*/ func (a *SLAApiService) SlaPutSla(ctx _context.Context, slaGuid string) ApiSlaPutSlaRequest { return ApiSlaPutSlaRequest{ ApiService: a, @@ -1436,9 +1434,7 @@ func (a *SLAApiService) SlaPutSla(ctx _context.Context, slaGuid string) ApiSlaPu } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *SLAApiService) SlaPutSlaExecute(r ApiSlaPutSlaRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/api_statistics.go b/api_statistics.go index 1c61217..6197d05 100644 --- a/api_statistics.go +++ b/api_statistics.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -38,18 +38,22 @@ type ApiStatisticsGetMonitorGroupStatisticsRequest struct { presetPeriod *string } +// The filter for the requested response fields. E.g. \"Alerts,SlaTarget\". func (r ApiStatisticsGetMonitorGroupStatisticsRequest) Filter(filter string) ApiStatisticsGetMonitorGroupStatisticsRequest { r.filter = &filter return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiStatisticsGetMonitorGroupStatisticsRequest) Start(start time.Time) ApiStatisticsGetMonitorGroupStatisticsRequest { r.start = &start return r } +// The end of a custom period func (r ApiStatisticsGetMonitorGroupStatisticsRequest) End(end time.Time) ApiStatisticsGetMonitorGroupStatisticsRequest { r.end = &end return r } +// The requested time period. func (r ApiStatisticsGetMonitorGroupStatisticsRequest) PresetPeriod(presetPeriod string) ApiStatisticsGetMonitorGroupStatisticsRequest { r.presetPeriod = &presetPeriod return r @@ -60,11 +64,12 @@ func (r ApiStatisticsGetMonitorGroupStatisticsRequest) Execute() (StatisticsResp } /* - * StatisticsGetMonitorGroupStatistics Gets the monitor group statistics. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group. - * @return ApiStatisticsGetMonitorGroupStatisticsRequest - */ +StatisticsGetMonitorGroupStatistics Gets the monitor group statistics. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group. + @return ApiStatisticsGetMonitorGroupStatisticsRequest +*/ func (a *StatisticsApiService) StatisticsGetMonitorGroupStatistics(ctx _context.Context, monitorGroupGuid string) ApiStatisticsGetMonitorGroupStatisticsRequest { return ApiStatisticsGetMonitorGroupStatisticsRequest{ ApiService: a, @@ -73,10 +78,8 @@ func (a *StatisticsApiService) StatisticsGetMonitorGroupStatistics(ctx _context. } } -/* - * Execute executes the request - * @return StatisticsResponse - */ +// Execute executes the request +// @return StatisticsResponse func (a *StatisticsApiService) StatisticsGetMonitorGroupStatisticsExecute(r ApiStatisticsGetMonitorGroupStatisticsRequest) (StatisticsResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -194,18 +197,22 @@ type ApiStatisticsGetMonitorStatisticsRequest struct { presetPeriod *string } +// The filter for the requested response fields. E.g. \"Alerts,SlaTarget\". func (r ApiStatisticsGetMonitorStatisticsRequest) Filter(filter string) ApiStatisticsGetMonitorStatisticsRequest { r.filter = &filter return r } +// The start of a custom period (can't be used together with the PresetPeriod parameter) func (r ApiStatisticsGetMonitorStatisticsRequest) Start(start time.Time) ApiStatisticsGetMonitorStatisticsRequest { r.start = &start return r } +// The end of a custom period func (r ApiStatisticsGetMonitorStatisticsRequest) End(end time.Time) ApiStatisticsGetMonitorStatisticsRequest { r.end = &end return r } +// The requested time period. func (r ApiStatisticsGetMonitorStatisticsRequest) PresetPeriod(presetPeriod string) ApiStatisticsGetMonitorStatisticsRequest { r.presetPeriod = &presetPeriod return r @@ -216,11 +223,12 @@ func (r ApiStatisticsGetMonitorStatisticsRequest) Execute() (StatisticsResponse, } /* - * StatisticsGetMonitorStatistics Gets the monitor statistics. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor. - * @return ApiStatisticsGetMonitorStatisticsRequest - */ +StatisticsGetMonitorStatistics Gets the monitor statistics. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor. + @return ApiStatisticsGetMonitorStatisticsRequest +*/ func (a *StatisticsApiService) StatisticsGetMonitorStatistics(ctx _context.Context, monitorGuid string) ApiStatisticsGetMonitorStatisticsRequest { return ApiStatisticsGetMonitorStatisticsRequest{ ApiService: a, @@ -229,10 +237,8 @@ func (a *StatisticsApiService) StatisticsGetMonitorStatistics(ctx _context.Conte } } -/* - * Execute executes the request - * @return StatisticsResponse - */ +// Execute executes the request +// @return StatisticsResponse func (a *StatisticsApiService) StatisticsGetMonitorStatisticsExecute(r ApiStatisticsGetMonitorStatisticsRequest) (StatisticsResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_status.go b/api_status.go index 9f96fc1..bd303fe 100644 --- a/api_status.go +++ b/api_status.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -39,11 +39,12 @@ func (r ApiStatusGetMonitorGroupStatusRequest) Execute() (MonitorStatusListRespo } /* - * StatusGetMonitorGroupStatus Gets a list of all monitor group status data. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGroupGuid The Guid of the monitor group. - * @return ApiStatusGetMonitorGroupStatusRequest - */ +StatusGetMonitorGroupStatus Gets a list of all monitor group status data. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGroupGuid The Guid of the monitor group. + @return ApiStatusGetMonitorGroupStatusRequest +*/ func (a *StatusApiService) StatusGetMonitorGroupStatus(ctx _context.Context, monitorGroupGuid string) ApiStatusGetMonitorGroupStatusRequest { return ApiStatusGetMonitorGroupStatusRequest{ ApiService: a, @@ -52,10 +53,8 @@ func (a *StatusApiService) StatusGetMonitorGroupStatus(ctx _context.Context, mon } } -/* - * Execute executes the request - * @return MonitorStatusListResponse - */ +// Execute executes the request +// @return MonitorStatusListResponse func (a *StatusApiService) StatusGetMonitorGroupStatusExecute(r ApiStatusGetMonitorGroupStatusRequest) (MonitorStatusListResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -163,11 +162,12 @@ func (r ApiStatusGetMonitorStatusRequest) Execute() (MonitorStatusResponse, *_ne } /* - * StatusGetMonitorStatus Gets all monitor status data. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param monitorGuid The Guid of the monitor. - * @return ApiStatusGetMonitorStatusRequest - */ +StatusGetMonitorStatus Gets all monitor status data. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param monitorGuid The Guid of the monitor. + @return ApiStatusGetMonitorStatusRequest +*/ func (a *StatusApiService) StatusGetMonitorStatus(ctx _context.Context, monitorGuid string) ApiStatusGetMonitorStatusRequest { return ApiStatusGetMonitorStatusRequest{ ApiService: a, @@ -176,10 +176,8 @@ func (a *StatusApiService) StatusGetMonitorStatus(ctx _context.Context, monitorG } } -/* - * Execute executes the request - * @return MonitorStatusResponse - */ +// Execute executes the request +// @return MonitorStatusResponse func (a *StatusApiService) StatusGetMonitorStatusExecute(r ApiStatusGetMonitorStatusRequest) (MonitorStatusResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet diff --git a/api_vault.go b/api_vault.go index 5ed51a4..baefd0e 100644 --- a/api_vault.go +++ b/api_vault.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -44,12 +44,14 @@ func (r ApiVaultCreateAuthorizationForVaultSectionRequest) Execute() (VaultSecti } /* - * VaultCreateAuthorizationForVaultSection Creates a new authorization for the specified vault section. - * The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to either an individual operator, or an operator group. Therefore, either specify the OperatorGuid attribute or the OperatorGroupGuid attribute. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the vault section for which to create the new authorization. - * @return ApiVaultCreateAuthorizationForVaultSectionRequest - */ +VaultCreateAuthorizationForVaultSection Creates a new authorization for the specified vault section. + +The AuthorizationId attribute should be omitted in the request body. The newly created authorization will be returned in the response. An authorization should be granted to either an individual operator, or an operator group. Therefore, either specify the OperatorGuid attribute or the OperatorGroupGuid attribute. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the vault section for which to create the new authorization. + @return ApiVaultCreateAuthorizationForVaultSectionRequest +*/ func (a *VaultApiService) VaultCreateAuthorizationForVaultSection(ctx _context.Context, vaultSectionGuid string) ApiVaultCreateAuthorizationForVaultSectionRequest { return ApiVaultCreateAuthorizationForVaultSectionRequest{ ApiService: a, @@ -58,10 +60,8 @@ func (a *VaultApiService) VaultCreateAuthorizationForVaultSection(ctx _context.C } } -/* - * Execute executes the request - * @return VaultSectionAuthorization - */ +// Execute executes the request +// @return VaultSectionAuthorization func (a *VaultApiService) VaultCreateAuthorizationForVaultSectionExecute(r ApiVaultCreateAuthorizationForVaultSectionRequest) (VaultSectionAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -168,6 +168,7 @@ type ApiVaultCreateNewVaultItemRequest struct { item *VaultItem } +// The item to create func (r ApiVaultCreateNewVaultItemRequest) Item(item VaultItem) ApiVaultCreateNewVaultItemRequest { r.item = &item return r @@ -178,11 +179,13 @@ func (r ApiVaultCreateNewVaultItemRequest) Execute() (VaultItem, *_nethttp.Respo } /* - * VaultCreateNewVaultItem Creates a new vault item. - * The VaultItemGuid field should be omitted - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiVaultCreateNewVaultItemRequest - */ +VaultCreateNewVaultItem Creates a new vault item. + +The VaultItemGuid field should be omitted + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiVaultCreateNewVaultItemRequest +*/ func (a *VaultApiService) VaultCreateNewVaultItem(ctx _context.Context) ApiVaultCreateNewVaultItemRequest { return ApiVaultCreateNewVaultItemRequest{ ApiService: a, @@ -190,10 +193,8 @@ func (a *VaultApiService) VaultCreateNewVaultItem(ctx _context.Context) ApiVault } } -/* - * Execute executes the request - * @return VaultItem - */ +// Execute executes the request +// @return VaultItem func (a *VaultApiService) VaultCreateNewVaultItemExecute(r ApiVaultCreateNewVaultItemRequest) (VaultItem, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -289,6 +290,7 @@ type ApiVaultCreateNewVaultSectionRequest struct { section *VaultSection } +// The attributes of the vault section that should be created. func (r ApiVaultCreateNewVaultSectionRequest) Section(section VaultSection) ApiVaultCreateNewVaultSectionRequest { r.section = §ion return r @@ -299,11 +301,13 @@ func (r ApiVaultCreateNewVaultSectionRequest) Execute() (VaultSection, *_nethttp } /* - * VaultCreateNewVaultSection Creates a new vault section. - * When a new vault section is created, the user that created the section is granted View and Edit authorizations to that section. The VaultSectionGuid attribute should be omitted in the request body. The Guid of the newly created section will be returned in the response. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiVaultCreateNewVaultSectionRequest - */ +VaultCreateNewVaultSection Creates a new vault section. + +When a new vault section is created, the user that created the section is granted View and Edit authorizations to that section. The VaultSectionGuid attribute should be omitted in the request body. The Guid of the newly created section will be returned in the response. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiVaultCreateNewVaultSectionRequest +*/ func (a *VaultApiService) VaultCreateNewVaultSection(ctx _context.Context) ApiVaultCreateNewVaultSectionRequest { return ApiVaultCreateNewVaultSectionRequest{ ApiService: a, @@ -311,10 +315,8 @@ func (a *VaultApiService) VaultCreateNewVaultSection(ctx _context.Context) ApiVa } } -/* - * Execute executes the request - * @return VaultSection - */ +// Execute executes the request +// @return VaultSection func (a *VaultApiService) VaultCreateNewVaultSectionExecute(r ApiVaultCreateNewVaultSectionRequest) (VaultSection, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -417,12 +419,13 @@ func (r ApiVaultDeleteAuthorizationForVaultSectionRequest) Execute() (*_nethttp. } /* - * VaultDeleteAuthorizationForVaultSection Deletes the specified authorization for the specified vault section. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the vault section for which the authorization should be deleted. - * @param authorizationGuid The Guid of the authorization that should be deleted. - * @return ApiVaultDeleteAuthorizationForVaultSectionRequest - */ +VaultDeleteAuthorizationForVaultSection Deletes the specified authorization for the specified vault section. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the vault section for which the authorization should be deleted. + @param authorizationGuid The Guid of the authorization that should be deleted. + @return ApiVaultDeleteAuthorizationForVaultSectionRequest +*/ func (a *VaultApiService) VaultDeleteAuthorizationForVaultSection(ctx _context.Context, vaultSectionGuid string, authorizationGuid string) ApiVaultDeleteAuthorizationForVaultSectionRequest { return ApiVaultDeleteAuthorizationForVaultSectionRequest{ ApiService: a, @@ -432,9 +435,7 @@ func (a *VaultApiService) VaultDeleteAuthorizationForVaultSection(ctx _context.C } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultDeleteAuthorizationForVaultSectionExecute(r ApiVaultDeleteAuthorizationForVaultSectionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -533,11 +534,12 @@ func (r ApiVaultDeleteVaultItemRequest) Execute() (*_nethttp.Response, error) { } /* - * VaultDeleteVaultItem Deletes the specified vault item. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultItemGuid The Guid of the vault item that should be deleted. - * @return ApiVaultDeleteVaultItemRequest - */ +VaultDeleteVaultItem Deletes the specified vault item. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultItemGuid The Guid of the vault item that should be deleted. + @return ApiVaultDeleteVaultItemRequest +*/ func (a *VaultApiService) VaultDeleteVaultItem(ctx _context.Context, vaultItemGuid string) ApiVaultDeleteVaultItemRequest { return ApiVaultDeleteVaultItemRequest{ ApiService: a, @@ -546,9 +548,7 @@ func (a *VaultApiService) VaultDeleteVaultItem(ctx _context.Context, vaultItemGu } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultDeleteVaultItemExecute(r ApiVaultDeleteVaultItemRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -646,11 +646,12 @@ func (r ApiVaultDeleteVaultSectionRequest) Execute() (*_nethttp.Response, error) } /* - * VaultDeleteVaultSection Deletes the specified vault section. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the vault section that should be deleted. - * @return ApiVaultDeleteVaultSectionRequest - */ +VaultDeleteVaultSection Deletes the specified vault section. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the vault section that should be deleted. + @return ApiVaultDeleteVaultSectionRequest +*/ func (a *VaultApiService) VaultDeleteVaultSection(ctx _context.Context, vaultSectionGuid string) ApiVaultDeleteVaultSectionRequest { return ApiVaultDeleteVaultSectionRequest{ ApiService: a, @@ -659,9 +660,7 @@ func (a *VaultApiService) VaultDeleteVaultSection(ctx _context.Context, vaultSec } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultDeleteVaultSectionExecute(r ApiVaultDeleteVaultSectionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -758,10 +757,11 @@ func (r ApiVaultGetAllVaultItemsRequest) Execute() ([]VaultItem, *_nethttp.Respo } /* - * VaultGetAllVaultItems Returns all vault items. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiVaultGetAllVaultItemsRequest - */ +VaultGetAllVaultItems Returns all vault items. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiVaultGetAllVaultItemsRequest +*/ func (a *VaultApiService) VaultGetAllVaultItems(ctx _context.Context) ApiVaultGetAllVaultItemsRequest { return ApiVaultGetAllVaultItemsRequest{ ApiService: a, @@ -769,10 +769,8 @@ func (a *VaultApiService) VaultGetAllVaultItems(ctx _context.Context) ApiVaultGe } } -/* - * Execute executes the request - * @return []VaultItem - */ +// Execute executes the request +// @return []VaultItem func (a *VaultApiService) VaultGetAllVaultItemsExecute(r ApiVaultGetAllVaultItemsRequest) ([]VaultItem, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -868,10 +866,11 @@ func (r ApiVaultGetAllVaultSectionsRequest) Execute() ([]VaultSection, *_nethttp } /* - * VaultGetAllVaultSections Returns all vault sections. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiVaultGetAllVaultSectionsRequest - */ +VaultGetAllVaultSections Returns all vault sections. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiVaultGetAllVaultSectionsRequest +*/ func (a *VaultApiService) VaultGetAllVaultSections(ctx _context.Context) ApiVaultGetAllVaultSectionsRequest { return ApiVaultGetAllVaultSectionsRequest{ ApiService: a, @@ -879,10 +878,8 @@ func (a *VaultApiService) VaultGetAllVaultSections(ctx _context.Context) ApiVaul } } -/* - * Execute executes the request - * @return []VaultSection - */ +// Execute executes the request +// @return []VaultSection func (a *VaultApiService) VaultGetAllVaultSectionsExecute(r ApiVaultGetAllVaultSectionsRequest) ([]VaultSection, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -979,11 +976,12 @@ func (r ApiVaultGetAuthorizationsForVaultSectionRequest) Execute() (VaultSection } /* - * VaultGetAuthorizationsForVaultSection Returns all authorizations for the specified vault section. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the vault section for which to return authorizations. - * @return ApiVaultGetAuthorizationsForVaultSectionRequest - */ +VaultGetAuthorizationsForVaultSection Returns all authorizations for the specified vault section. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the vault section for which to return authorizations. + @return ApiVaultGetAuthorizationsForVaultSectionRequest +*/ func (a *VaultApiService) VaultGetAuthorizationsForVaultSection(ctx _context.Context, vaultSectionGuid string) ApiVaultGetAuthorizationsForVaultSectionRequest { return ApiVaultGetAuthorizationsForVaultSectionRequest{ ApiService: a, @@ -992,10 +990,8 @@ func (a *VaultApiService) VaultGetAuthorizationsForVaultSection(ctx _context.Con } } -/* - * Execute executes the request - * @return VaultSectionAuthorization - */ +// Execute executes the request +// @return VaultSectionAuthorization func (a *VaultApiService) VaultGetAuthorizationsForVaultSectionExecute(r ApiVaultGetAuthorizationsForVaultSectionRequest) (VaultSectionAuthorization, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1103,11 +1099,12 @@ func (r ApiVaultGetVaultItemRequest) Execute() (VaultItem, *_nethttp.Response, e } /* - * VaultGetVaultItem Returns the specified vault item. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultItemGuid The Guid of the requested vault item. - * @return ApiVaultGetVaultItemRequest - */ +VaultGetVaultItem Returns the specified vault item. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultItemGuid The Guid of the requested vault item. + @return ApiVaultGetVaultItemRequest +*/ func (a *VaultApiService) VaultGetVaultItem(ctx _context.Context, vaultItemGuid string) ApiVaultGetVaultItemRequest { return ApiVaultGetVaultItemRequest{ ApiService: a, @@ -1116,10 +1113,8 @@ func (a *VaultApiService) VaultGetVaultItem(ctx _context.Context, vaultItemGuid } } -/* - * Execute executes the request - * @return VaultItem - */ +// Execute executes the request +// @return VaultItem func (a *VaultApiService) VaultGetVaultItemExecute(r ApiVaultGetVaultItemRequest) (VaultItem, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1227,11 +1222,12 @@ func (r ApiVaultGetVaultSectionRequest) Execute() (VaultSection, *_nethttp.Respo } /* - * VaultGetVaultSection Returns the specified vault section. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the requested vault section. - * @return ApiVaultGetVaultSectionRequest - */ +VaultGetVaultSection Returns the specified vault section. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the requested vault section. + @return ApiVaultGetVaultSectionRequest +*/ func (a *VaultApiService) VaultGetVaultSection(ctx _context.Context, vaultSectionGuid string) ApiVaultGetVaultSectionRequest { return ApiVaultGetVaultSectionRequest{ ApiService: a, @@ -1240,10 +1236,8 @@ func (a *VaultApiService) VaultGetVaultSection(ctx _context.Context, vaultSectio } } -/* - * Execute executes the request - * @return VaultSection - */ +// Execute executes the request +// @return VaultSection func (a *VaultApiService) VaultGetVaultSectionExecute(r ApiVaultGetVaultSectionRequest) (VaultSection, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1346,6 +1340,7 @@ type ApiVaultPartiallyUpdateVaultItemRequest struct { item *VaultItem } +// Part of the definition of the vault item that should be updated. func (r ApiVaultPartiallyUpdateVaultItemRequest) Item(item VaultItem) ApiVaultPartiallyUpdateVaultItemRequest { r.item = &item return r @@ -1356,12 +1351,14 @@ func (r ApiVaultPartiallyUpdateVaultItemRequest) Execute() (*_nethttp.Response, } /* - * VaultPartiallyUpdateVaultItem Partially updates the specified vault item. - * The vault item type cannot be changed with this operation. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultItemGuid The Guid of the vault item that should be updated. - * @return ApiVaultPartiallyUpdateVaultItemRequest - */ +VaultPartiallyUpdateVaultItem Partially updates the specified vault item. + +The vault item type cannot be changed with this operation. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultItemGuid The Guid of the vault item that should be updated. + @return ApiVaultPartiallyUpdateVaultItemRequest +*/ func (a *VaultApiService) VaultPartiallyUpdateVaultItem(ctx _context.Context, vaultItemGuid string) ApiVaultPartiallyUpdateVaultItemRequest { return ApiVaultPartiallyUpdateVaultItemRequest{ ApiService: a, @@ -1370,9 +1367,7 @@ func (a *VaultApiService) VaultPartiallyUpdateVaultItem(ctx _context.Context, va } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultPartiallyUpdateVaultItemExecute(r ApiVaultPartiallyUpdateVaultItemRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch @@ -1470,6 +1465,7 @@ type ApiVaultUpdateVaultItemRequest struct { item *VaultItem } +// The complete definition of the vault item that should be updated. func (r ApiVaultUpdateVaultItemRequest) Item(item VaultItem) ApiVaultUpdateVaultItemRequest { r.item = &item return r @@ -1480,12 +1476,14 @@ func (r ApiVaultUpdateVaultItemRequest) Execute() (*_nethttp.Response, error) { } /* - * VaultUpdateVaultItem Updates the specified vault item. - * Only complete definitions are accepted. Fields not specified will be NULLed. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultItemGuid The Guid of the vault item that should be updated. - * @return ApiVaultUpdateVaultItemRequest - */ +VaultUpdateVaultItem Updates the specified vault item. + +Only complete definitions are accepted. Fields not specified will be NULLed. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultItemGuid The Guid of the vault item that should be updated. + @return ApiVaultUpdateVaultItemRequest +*/ func (a *VaultApiService) VaultUpdateVaultItem(ctx _context.Context, vaultItemGuid string) ApiVaultUpdateVaultItemRequest { return ApiVaultUpdateVaultItemRequest{ ApiService: a, @@ -1494,9 +1492,7 @@ func (a *VaultApiService) VaultUpdateVaultItem(ctx _context.Context, vaultItemGu } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultUpdateVaultItemExecute(r ApiVaultUpdateVaultItemRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut @@ -1604,11 +1600,12 @@ func (r ApiVaultUpdateVaultSectionRequest) Execute() (*_nethttp.Response, error) } /* - * VaultUpdateVaultSection Updates the specified vault section. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param vaultSectionGuid The Guid of the vault section that should be updated. - * @return ApiVaultUpdateVaultSectionRequest - */ +VaultUpdateVaultSection Updates the specified vault section. + + @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param vaultSectionGuid The Guid of the vault section that should be updated. + @return ApiVaultUpdateVaultSectionRequest +*/ func (a *VaultApiService) VaultUpdateVaultSection(ctx _context.Context, vaultSectionGuid string) ApiVaultUpdateVaultSectionRequest { return ApiVaultUpdateVaultSectionRequest{ ApiService: a, @@ -1617,9 +1614,7 @@ func (a *VaultApiService) VaultUpdateVaultSection(ctx _context.Context, vaultSec } } -/* - * Execute executes the request - */ +// Execute executes the request func (a *VaultApiService) VaultUpdateVaultSectionExecute(r ApiVaultUpdateVaultSectionRequest) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPut diff --git a/client.go b/client.go index 9f77012..0cae8bc 100644 --- a/client.go +++ b/client.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/configuration.go b/configuration.go index 1a5bc6e..82f676c 100644 --- a/configuration.go +++ b/configuration.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/Ipv6Address.md b/docs/Ipv6Address.md new file mode 100644 index 0000000..8e53635 --- /dev/null +++ b/docs/Ipv6Address.md @@ -0,0 +1,77 @@ +# Ipv6Address + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IpAddress** | Pointer to **string** | The IPv6 address | [optional] +**IsNative** | **bool** | This indicates whether this is a native IPv6 address | + +## Methods + +### NewIpv6Address + +`func NewIpv6Address(isNative bool, ) *Ipv6Address` + +NewIpv6Address instantiates a new Ipv6Address object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIpv6AddressWithDefaults + +`func NewIpv6AddressWithDefaults() *Ipv6Address` + +NewIpv6AddressWithDefaults instantiates a new Ipv6Address object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIpAddress + +`func (o *Ipv6Address) GetIpAddress() string` + +GetIpAddress returns the IpAddress field if non-nil, zero value otherwise. + +### GetIpAddressOk + +`func (o *Ipv6Address) GetIpAddressOk() (*string, bool)` + +GetIpAddressOk returns a tuple with the IpAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpAddress + +`func (o *Ipv6Address) SetIpAddress(v string)` + +SetIpAddress sets IpAddress field to given value. + +### HasIpAddress + +`func (o *Ipv6Address) HasIpAddress() bool` + +HasIpAddress returns a boolean if a field has been set. + +### GetIsNative + +`func (o *Ipv6Address) GetIsNative() bool` + +GetIsNative returns the IsNative field if non-nil, zero value otherwise. + +### GetIsNativeOk + +`func (o *Ipv6Address) GetIsNativeOk() (*bool, bool)` + +GetIsNativeOk returns a tuple with the IsNative field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsNative + +`func (o *Ipv6Address) SetIsNative(v bool)` + +SetIsNative sets IsNative field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go.mod b/go.mod index 0682c97..ea95f74 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.16 require ( github.com/golang/protobuf v1.5.2 // indirect - golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect - golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a + golang.org/x/net v0.0.0-20210913180222-943fd674d43e // indirect + golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.27.1 // indirect ) diff --git a/go.sum b/go.sum index aefd12b..d201497 100644 --- a/go.sum +++ b/go.sum @@ -180,15 +180,15 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d h1:20cMwl2fHAzkJMEA+8J4JgqBQcQGzbisXo31MIeenXI= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210913180222-943fd674d43e h1:+b/22bPvDYt4NPDcy4xAGCmON713ONAWFeY3Z7I3tR8= +golang.org/x/net v0.0.0-20210913180222-943fd674d43e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a h1:4Kd8OPUx1xgUwrHDaviWZO8MsgoZTZYC3g+8m16RBww= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f h1:Qmd2pbz05z7z6lm0DrgQVVPuBm92jqujBKMHMOlOQEw= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= diff --git a/model_account_statistics.go b/model_account_statistics.go index 5b04de4..58fb71f 100644 --- a/model_account_statistics.go +++ b/model_account_statistics.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert.go b/model_alert.go index 1e160d5..684cb1c 100644 --- a/model_alert.go +++ b/model_alert.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_attributes.go b/model_alert_attributes.go index a807ff4..f34de19 100644 --- a/model_alert_attributes.go +++ b/model_alert_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition.go b/model_alert_definition.go index 21d521b..7036359 100644 --- a/model_alert_definition.go +++ b/model_alert_definition.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition_member.go b/model_alert_definition_member.go index 5e8e6f9..6f0d295 100644 --- a/model_alert_definition_member.go +++ b/model_alert_definition_member.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition_monitor.go b/model_alert_definition_monitor.go index af8776e..1e024d3 100644 --- a/model_alert_definition_monitor.go +++ b/model_alert_definition_monitor.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition_monitor_group.go b/model_alert_definition_monitor_group.go index 564c783..ebdaa27 100644 --- a/model_alert_definition_monitor_group.go +++ b/model_alert_definition_monitor_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition_operator.go b/model_alert_definition_operator.go index 1cac64e..4cdf682 100644 --- a/model_alert_definition_operator.go +++ b/model_alert_definition_operator.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_definition_operator_group.go b/model_alert_definition_operator_group.go index 4c53853..a3597fa 100644 --- a/model_alert_definition_operator_group.go +++ b/model_alert_definition_operator_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_escalation_level_member.go b/model_alert_escalation_level_member.go index 35d9a84..2d7a24a 100644 --- a/model_alert_escalation_level_member.go +++ b/model_alert_escalation_level_member.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_response.go b/model_alert_response.go index d3735d3..674a652 100644 --- a/model_alert_response.go +++ b/model_alert_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_alert_type.go b/model_alert_type.go index c76f0f8..45bd597 100644 --- a/model_alert_type.go +++ b/model_alert_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// AlertType +// AlertType the model 'AlertType' type AlertType string // List of AlertType diff --git a/model_api_assertion.go b/model_api_assertion.go index 0423110..3d7bec3 100644 --- a/model_api_assertion.go +++ b/model_api_assertion.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_assertion_source_type.go b/model_api_assertion_source_type.go index d9cbb3d..b40c518 100644 --- a/model_api_assertion_source_type.go +++ b/model_api_assertion_source_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ApiAssertionSourceType +// ApiAssertionSourceType the model 'ApiAssertionSourceType' type ApiAssertionSourceType string // List of ApiAssertionSourceType diff --git a/model_api_authentication_info.go b/model_api_authentication_info.go index 45e8cc2..059925f 100644 --- a/model_api_authentication_info.go +++ b/model_api_authentication_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_comparison_type.go b/model_api_comparison_type.go index 850ff47..76fb468 100644 --- a/model_api_comparison_type.go +++ b/model_api_comparison_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ApiComparisonType +// ApiComparisonType the model 'ApiComparisonType' type ApiComparisonType string // List of ApiComparisonType diff --git a/model_api_http_authentication_type.go b/model_api_http_authentication_type.go index 63aebab..ecf546e 100644 --- a/model_api_http_authentication_type.go +++ b/model_api_http_authentication_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ApiHttpAuthenticationType +// ApiHttpAuthenticationType the model 'ApiHttpAuthenticationType' type ApiHttpAuthenticationType string // List of ApiHttpAuthenticationType diff --git a/model_api_http_header_value.go b/model_api_http_header_value.go index e331316..0adc491 100644 --- a/model_api_http_header_value.go +++ b/model_api_http_header_value.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_variable_definition.go b/model_api_variable_definition.go index d3e705f..4c8f747 100644 --- a/model_api_variable_definition.go +++ b/model_api_variable_definition.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_variable_source_type.go b/model_api_variable_source_type.go index 82c583c..1b0e5e1 100644 --- a/model_api_variable_source_type.go +++ b/model_api_variable_source_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ApiVariableSourceType +// ApiVariableSourceType the model 'ApiVariableSourceType' type ApiVariableSourceType string // List of ApiVariableSourceType diff --git a/model_assertion_info.go b/model_assertion_info.go index d355e01..023eb59 100644 --- a/model_assertion_info.go +++ b/model_assertion_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_assertion_results_info.go b/model_assertion_results_info.go index bdcf4b6..78350b4 100644 --- a/model_assertion_results_info.go +++ b/model_assertion_results_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_browser_type.go b/model_browser_type.go index a573f21..73ff46b 100644 --- a/model_browser_type.go +++ b/model_browser_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// BrowserType +// BrowserType the model 'BrowserType' type BrowserType string // List of BrowserType diff --git a/model_browser_window_dimensions.go b/model_browser_window_dimensions.go index b05eca2..5a3e932 100644 --- a/model_browser_window_dimensions.go +++ b/model_browser_window_dimensions.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_capability_filter_enum.go b/model_capability_filter_enum.go index 818d7dd..43b423e 100644 --- a/model_capability_filter_enum.go +++ b/model_capability_filter_enum.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// CapabilityFilterEnum +// CapabilityFilterEnum the model 'CapabilityFilterEnum' type CapabilityFilterEnum string // List of CapabilityFilterEnum diff --git a/model_certificate_archive.go b/model_certificate_archive.go index 4cd03db..8ca9130 100644 --- a/model_certificate_archive.go +++ b/model_certificate_archive.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoin_server_response.go b/model_checkpoin_server_response.go index a0b701b..5db843c 100644 --- a/model_checkpoin_server_response.go +++ b/model_checkpoin_server_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint.go b/model_checkpoint.go index eec683a..2c09516 100644 --- a/model_checkpoint.go +++ b/model_checkpoint.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint2.go b/model_checkpoint2.go index f74b981..756ed09 100644 --- a/model_checkpoint2.go +++ b/model_checkpoint2.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint_attributes.go b/model_checkpoint_attributes.go index 6df8079..a277f8a 100644 --- a/model_checkpoint_attributes.go +++ b/model_checkpoint_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ type CheckpointAttributes struct { // Ipv4 addresses of the checkpoint Ipv4Addresses *[]string `json:"Ipv4Addresses,omitempty"` // Ipv6 addresses of the checkpoint - IpV6Addresses *[]Ipv6Address `json:"IpV6Addresses,omitempty"` + IpV6Addresses *[]IPv6Address `json:"IpV6Addresses,omitempty"` // Checkpoint is primary IsPrimaryCheckpoint bool `json:"IsPrimaryCheckpoint"` // Checkpoint supports IPv6 @@ -149,9 +149,9 @@ func (o *CheckpointAttributes) SetIpv4Addresses(v []string) { } // GetIpV6Addresses returns the IpV6Addresses field value if set, zero value otherwise. -func (o *CheckpointAttributes) GetIpV6Addresses() []Ipv6Address { +func (o *CheckpointAttributes) GetIpV6Addresses() []IPv6Address { if o == nil || o.IpV6Addresses == nil { - var ret []Ipv6Address + var ret []IPv6Address return ret } return *o.IpV6Addresses @@ -159,7 +159,7 @@ func (o *CheckpointAttributes) GetIpV6Addresses() []Ipv6Address { // GetIpV6AddressesOk returns a tuple with the IpV6Addresses field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CheckpointAttributes) GetIpV6AddressesOk() (*[]Ipv6Address, bool) { +func (o *CheckpointAttributes) GetIpV6AddressesOk() (*[]IPv6Address, bool) { if o == nil || o.IpV6Addresses == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *CheckpointAttributes) HasIpV6Addresses() bool { return false } -// SetIpV6Addresses gets a reference to the given []Ipv6Address and assigns it to the IpV6Addresses field. -func (o *CheckpointAttributes) SetIpV6Addresses(v []Ipv6Address) { +// SetIpV6Addresses gets a reference to the given []IPv6Address and assigns it to the IpV6Addresses field. +func (o *CheckpointAttributes) SetIpV6Addresses(v []IPv6Address) { o.IpV6Addresses = &v } diff --git a/model_checkpoint_list_response.go b/model_checkpoint_list_response.go index 0b4bfe3..019dee6 100644 --- a/model_checkpoint_list_response.go +++ b/model_checkpoint_list_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint_region.go b/model_checkpoint_region.go index 914a27d..64cd386 100644 --- a/model_checkpoint_region.go +++ b/model_checkpoint_region.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint_response.go b/model_checkpoint_response.go index 3fb61e8..7bf5646 100644 --- a/model_checkpoint_response.go +++ b/model_checkpoint_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint_server.go b/model_checkpoint_server.go index 84147e6..b15ba77 100644 --- a/model_checkpoint_server.go +++ b/model_checkpoint_server.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_checkpoint_server_attributes.go b/model_checkpoint_server_attributes.go index 99e2a1b..c761dd5 100644 --- a/model_checkpoint_server_attributes.go +++ b/model_checkpoint_server_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cursors_data.go b/model_cursors_data.go index 6b697f5..d90b4f0 100644 --- a/model_cursors_data.go +++ b/model_cursors_data.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field.go b/model_custom_field.go index 29eab4b..03978de 100644 --- a/model_custom_field.go +++ b/model_custom_field.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_metric.go b/model_custom_metric.go index c15910e..6c0ee6a 100644 --- a/model_custom_metric.go +++ b/model_custom_metric.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_customization_info.go b/model_customization_info.go index 8738932..00639b9 100644 --- a/model_customization_info.go +++ b/model_customization_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dashboard.go b/model_dashboard.go index bd4aad1..40b1c52 100644 --- a/model_dashboard.go +++ b/model_dashboard.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dashboard_filter.go b/model_dashboard_filter.go index e07def5..3faabb0 100644 --- a/model_dashboard_filter.go +++ b/model_dashboard_filter.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_date_time_pattern_match.go b/model_date_time_pattern_match.go index 5c7ee7e..3a9ccc2 100644 --- a/model_date_time_pattern_match.go +++ b/model_date_time_pattern_match.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_day_of_week.go b/model_day_of_week.go index 5e54540..b876d3b 100644 --- a/model_day_of_week.go +++ b/model_day_of_week.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// DayOfWeek +// DayOfWeek the model 'DayOfWeek' type DayOfWeek string // List of DayOfWeek diff --git a/model_dns_query.go b/model_dns_query.go index f8f870f..785545f 100644 --- a/model_dns_query.go +++ b/model_dns_query.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// DnsQuery +// DnsQuery the model 'DnsQuery' type DnsQuery string // List of DnsQuery diff --git a/model_error_level.go b/model_error_level.go index dcaf167..ad8958c 100644 --- a/model_error_level.go +++ b/model_error_level.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ErrorLevel +// ErrorLevel the model 'ErrorLevel' type ErrorLevel string // List of ErrorLevel diff --git a/model_error_level_filter.go b/model_error_level_filter.go index 7a622b9..7c1e713 100644 --- a/model_error_level_filter.go +++ b/model_error_level_filter.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ErrorLevelFilter +// ErrorLevelFilter the model 'ErrorLevelFilter' type ErrorLevelFilter string // List of ErrorLevelFilter diff --git a/model_escalation_level.go b/model_escalation_level.go index e62e550..e28a1cb 100644 --- a/model_escalation_level.go +++ b/model_escalation_level.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_escalation_level_integration.go b/model_escalation_level_integration.go index addc482..c130c16 100644 --- a/model_escalation_level_integration.go +++ b/model_escalation_level_integration.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_escalation_mode.go b/model_escalation_mode.go index 1b83979..5f7d059 100644 --- a/model_escalation_mode.go +++ b/model_escalation_mode.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// EscalationMode +// EscalationMode the model 'EscalationMode' type EscalationMode string // List of EscalationMode diff --git a/model_exclusion_period.go b/model_exclusion_period.go index 7d3ea98..079632f 100644 --- a/model_exclusion_period.go +++ b/model_exclusion_period.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_file_info.go b/model_file_info.go index 918466f..f8cd7e9 100644 --- a/model_file_info.go +++ b/model_file_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_attributes.go b/model_http_attributes.go index 6d1fa23..beb5b0a 100644 --- a/model_http_attributes.go +++ b/model_http_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_check_details.go b/model_http_check_details.go index 2ce8e15..5446d93 100644 --- a/model_http_check_details.go +++ b/model_http_check_details.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_details_response.go b/model_http_details_response.go index 7dc0e1b..95632b8 100644 --- a/model_http_details_response.go +++ b/model_http_details_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_engine_attributes.go b/model_http_engine_attributes.go index b29401f..a5511a5 100644 --- a/model_http_engine_attributes.go +++ b/model_http_engine_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_engine_check_details.go b/model_http_engine_check_details.go index 91b9552..705e58b 100644 --- a/model_http_engine_check_details.go +++ b/model_http_engine_check_details.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_engine_step.go b/model_http_engine_step.go index a5968f0..72836aa 100644 --- a/model_http_engine_step.go +++ b/model_http_engine_step.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_http_method.go b/model_http_method.go index 4f153c5..4eeb7a0 100644 --- a/model_http_method.go +++ b/model_http_method.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// HttpMethod +// HttpMethod the model 'HttpMethod' type HttpMethod string // List of HttpMethod diff --git a/model_integration.go b/model_integration.go index 32bae9b..174126f 100644 --- a/model_integration.go +++ b/model_integration.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_integration_service_map.go b/model_integration_service_map.go index c752415..7a105f3 100644 --- a/model_integration_service_map.go +++ b/model_integration_service_map.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_integration_type_enum.go b/model_integration_type_enum.go index 153a730..6c24619 100644 --- a/model_integration_type_enum.go +++ b/model_integration_type_enum.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// IntegrationTypeEnum +// IntegrationTypeEnum the model 'IntegrationTypeEnum' type IntegrationTypeEnum string // List of IntegrationTypeEnum diff --git a/model_ip_version.go b/model_ip_version.go index 42b5598..792931c 100644 --- a/model_ip_version.go +++ b/model_ip_version.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// IpVersion +// IpVersion the model 'IpVersion' type IpVersion string // List of IpVersion diff --git a/model_ipv6_address.go b/model_ipv6_address.go index 4096c5c..f5d39ef 100644 --- a/model_ipv6_address.go +++ b/model_ipv6_address.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_jwt_algorithm.go b/model_jwt_algorithm.go index b102d2b..53b70d7 100644 --- a/model_jwt_algorithm.go +++ b/model_jwt_algorithm.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// JwtAlgorithm +// JwtAlgorithm the model 'JwtAlgorithm' type JwtAlgorithm string // List of JwtAlgorithm diff --git a/model_last_error_level.go b/model_last_error_level.go index 4187ef2..9aa72cc 100644 --- a/model_last_error_level.go +++ b/model_last_error_level.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// LastErrorLevel +// LastErrorLevel the model 'LastErrorLevel' type LastErrorLevel string // List of LastErrorLevel diff --git a/model_links_data.go b/model_links_data.go index 813ffb4..91fd9be 100644 --- a/model_links_data.go +++ b/model_links_data.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_string_response.go b/model_list_string_response.go index c275721..4cbebe8 100644 --- a/model_list_string_response.go +++ b/model_list_string_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_maintenance_period.go b/model_maintenance_period.go index d1d35a2..35e7767 100644 --- a/model_maintenance_period.go +++ b/model_maintenance_period.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_maintenance_types.go b/model_maintenance_types.go index 7acae95..04dfdf7 100644 --- a/model_maintenance_types.go +++ b/model_maintenance_types.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// MaintenanceTypes +// MaintenanceTypes the model 'MaintenanceTypes' type MaintenanceTypes string // List of MaintenanceTypes diff --git a/model_message_info.go b/model_message_info.go index 0bb6bbf..07321e9 100644 --- a/model_message_info.go +++ b/model_message_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_message_list.go b/model_message_list.go index 84e9971..6652bf8 100644 --- a/model_message_list.go +++ b/model_message_list.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_meta_data.go b/model_meta_data.go index 2d973f1..28ab183 100644 --- a/model_meta_data.go +++ b/model_meta_data.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor.go b/model_monitor.go index 2af884b..11af02d 100644 --- a/model_monitor.go +++ b/model_monitor.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_check.go b/model_monitor_check.go index 8690da0..467d8a1 100644 --- a/model_monitor_check.go +++ b/model_monitor_check.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_check_attributes.go b/model_monitor_check_attributes.go index 4b3002e..9ea5f59 100644 --- a/model_monitor_check_attributes.go +++ b/model_monitor_check_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_check_response.go b/model_monitor_check_response.go index 047941c..6798c92 100644 --- a/model_monitor_check_response.go +++ b/model_monitor_check_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_group.go b/model_monitor_group.go index 1092baf..99648e5 100644 --- a/model_monitor_group.go +++ b/model_monitor_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_group_member.go b/model_monitor_group_member.go index de70d23..6fd9f7e 100644 --- a/model_monitor_group_member.go +++ b/model_monitor_group_member.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_mode.go b/model_monitor_mode.go index df390fc..de6e885 100644 --- a/model_monitor_mode.go +++ b/model_monitor_mode.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// MonitorMode +// MonitorMode the model 'MonitorMode' type MonitorMode string // List of MonitorMode diff --git a/model_monitor_quota.go b/model_monitor_quota.go index af8789d..dd4a82c 100644 --- a/model_monitor_quota.go +++ b/model_monitor_quota.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_status.go b/model_monitor_status.go index 65a4c17..a829432 100644 --- a/model_monitor_status.go +++ b/model_monitor_status.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_status_attributes.go b/model_monitor_status_attributes.go index 9e46b97..f2fc3ed 100644 --- a/model_monitor_status_attributes.go +++ b/model_monitor_status_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_status_list_response.go b/model_monitor_status_list_response.go index 64dece2..4e382fe 100644 --- a/model_monitor_status_list_response.go +++ b/model_monitor_status_list_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_status_response.go b/model_monitor_status_response.go index 6f29115..687082a 100644 --- a/model_monitor_status_response.go +++ b/model_monitor_status_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_monitor_type.go b/model_monitor_type.go index faca708..d8774eb 100644 --- a/model_monitor_type.go +++ b/model_monitor_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// MonitorType +// MonitorType the model 'MonitorType' type MonitorType string // List of MonitorType diff --git a/model_msa_body_type.go b/model_msa_body_type.go index fc69b68..135b406 100644 --- a/model_msa_body_type.go +++ b/model_msa_body_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// MsaBodyType +// MsaBodyType the model 'MsaBodyType' type MsaBodyType string // List of MsaBodyType diff --git a/model_msa_details_response.go b/model_msa_details_response.go index 3d1b9ed..f7614f2 100644 --- a/model_msa_details_response.go +++ b/model_msa_details_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_msa_step.go b/model_msa_step.go index 67d2963..15a08cb 100644 --- a/model_msa_step.go +++ b/model_msa_step.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_msa_step_type.go b/model_msa_step_type.go index 38863fb..5a6d20b 100644 --- a/model_msa_step_type.go +++ b/model_msa_step_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// MsaStepType +// MsaStepType the model 'MsaStepType' type MsaStepType string // List of MsaStepType diff --git a/model_operator.go b/model_operator.go index 54da6ac..7a429d8 100644 --- a/model_operator.go +++ b/model_operator.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_authorization_type.go b/model_operator_authorization_type.go index bd39d80..1f7ce7b 100644 --- a/model_operator_authorization_type.go +++ b/model_operator_authorization_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// OperatorAuthorizationType +// OperatorAuthorizationType the model 'OperatorAuthorizationType' type OperatorAuthorizationType string // List of OperatorAuthorizationType diff --git a/model_operator_duty_schedule.go b/model_operator_duty_schedule.go index 21cf5a3..05f2989 100644 --- a/model_operator_duty_schedule.go +++ b/model_operator_duty_schedule.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_group.go b/model_operator_group.go index 3c8197c..0f05989 100644 --- a/model_operator_group.go +++ b/model_operator_group.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_group_authorization.go b/model_operator_group_authorization.go index dc92324..d8025d1 100644 --- a/model_operator_group_authorization.go +++ b/model_operator_group_authorization.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_group_authorization_type.go b/model_operator_group_authorization_type.go index 9558b51..382b09d 100644 --- a/model_operator_group_authorization_type.go +++ b/model_operator_group_authorization_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// OperatorGroupAuthorizationType +// OperatorGroupAuthorizationType the model 'OperatorGroupAuthorizationType' type OperatorGroupAuthorizationType string // List of OperatorGroupAuthorizationType diff --git a/model_operator_group_member.go b/model_operator_group_member.go index bf6ac54..e018bb4 100644 --- a/model_operator_group_member.go +++ b/model_operator_group_member.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_member.go b/model_operator_member.go index 0c9b053..706b734 100644 --- a/model_operator_member.go +++ b/model_operator_member.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_quota.go b/model_operator_quota.go index 3e4c6a6..35fbbd0 100644 --- a/model_operator_quota.go +++ b/model_operator_quota.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_operator_schedule_mode.go b/model_operator_schedule_mode.go index dd5a151..91547f5 100644 --- a/model_operator_schedule_mode.go +++ b/model_operator_schedule_mode.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// OperatorScheduleMode +// OperatorScheduleMode the model 'OperatorScheduleMode' type OperatorScheduleMode string // List of OperatorScheduleMode diff --git a/model_outgoing_phone_number_details.go b/model_outgoing_phone_number_details.go index 332b51b..10d22db 100644 --- a/model_outgoing_phone_number_details.go +++ b/model_outgoing_phone_number_details.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_page_element.go b/model_page_element.go index 0e6a2e4..a0374e6 100644 --- a/model_page_element.go +++ b/model_page_element.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_pattern_match.go b/model_pattern_match.go index 8e3c902..e73ea0c 100644 --- a/model_pattern_match.go +++ b/model_pattern_match.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_period_meta_data.go b/model_period_meta_data.go index 087a391..84f83f9 100644 --- a/model_period_meta_data.go +++ b/model_period_meta_data.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_predefined_variable.go b/model_predefined_variable.go index 7896a10..fba9224 100644 --- a/model_predefined_variable.go +++ b/model_predefined_variable.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_preset_period_type.go b/model_preset_period_type.go index 516745a..6c9f5f4 100644 --- a/model_preset_period_type.go +++ b/model_preset_period_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PresetPeriodType +// PresetPeriodType the model 'PresetPeriodType' type PresetPeriodType string // List of PresetPeriodType diff --git a/model_preset_period_type_with_exclusive.go b/model_preset_period_type_with_exclusive.go index 84fb5e1..1fa6f32 100644 --- a/model_preset_period_type_with_exclusive.go +++ b/model_preset_period_type_with_exclusive.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PresetPeriodTypeWithExclusive +// PresetPeriodTypeWithExclusive the model 'PresetPeriodTypeWithExclusive' type PresetPeriodTypeWithExclusive string // List of PresetPeriodTypeWithExclusive diff --git a/model_psp_authorization.go b/model_psp_authorization.go index 6a108d8..d9cf8db 100644 --- a/model_psp_authorization.go +++ b/model_psp_authorization.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_psp_authorization_type.go b/model_psp_authorization_type.go index 61cc607..aaf351b 100644 --- a/model_psp_authorization_type.go +++ b/model_psp_authorization_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PSPAuthorizationType +// PSPAuthorizationType the model 'PSPAuthorizationType' type PSPAuthorizationType string // List of PSPAuthorizationType diff --git a/model_public_status_page.go b/model_public_status_page.go index 9d8bc7c..7be5ed1 100644 --- a/model_public_status_page.go +++ b/model_public_status_page.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_recipients.go b/model_recipients.go index 784a2d5..cfa5a0d 100644 --- a/model_recipients.go +++ b/model_recipients.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_register_status.go b/model_register_status.go index ee9e366..949b0d8 100644 --- a/model_register_status.go +++ b/model_register_status.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// RegisterStatus +// RegisterStatus the model 'RegisterStatus' type RegisterStatus string // List of RegisterStatus diff --git a/model_registration_response.go b/model_registration_response.go index 2f4ef2a..f5bb087 100644 --- a/model_registration_response.go +++ b/model_registration_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_relation_object.go b/model_relation_object.go index 11c44c7..8ff0066 100644 --- a/model_relation_object.go +++ b/model_relation_object.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_request_header.go b/model_request_header.go index 08c4e22..ef7ee69 100644 --- a/model_request_header.go +++ b/model_request_header.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_schedule.go b/model_schedule.go index 8e18ab5..993b222 100644 --- a/model_schedule.go +++ b/model_schedule.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_schedule_mode.go b/model_schedule_mode.go index ba232cd..60ad5b8 100644 --- a/model_schedule_mode.go +++ b/model_schedule_mode.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ScheduleMode +// ScheduleMode the model 'ScheduleMode' type ScheduleMode string // List of ScheduleMode diff --git a/model_schedule_type.go b/model_schedule_type.go index 09e986f..07bb0c8 100644 --- a/model_schedule_type.go +++ b/model_schedule_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ScheduleType +// ScheduleType the model 'ScheduleType' type ScheduleType string // List of ScheduleType diff --git a/model_scheduled_report.go b/model_scheduled_report.go index 1a098db..a167a2f 100644 --- a/model_scheduled_report.go +++ b/model_scheduled_report.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_scheduled_report_file_type.go b/model_scheduled_report_file_type.go index eb3ee34..9314f95 100644 --- a/model_scheduled_report_file_type.go +++ b/model_scheduled_report_file_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ScheduledReportFileType +// ScheduledReportFileType the model 'ScheduledReportFileType' type ScheduledReportFileType string // List of ScheduledReportFileType diff --git a/model_screenshot_response.go b/model_screenshot_response.go index 3af0945..0fbdf32 100644 --- a/model_screenshot_response.go +++ b/model_screenshot_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_selected_checkpoints.go b/model_selected_checkpoints.go index dac84ae..c9e807d 100644 --- a/model_selected_checkpoints.go +++ b/model_selected_checkpoints.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_selected_period.go b/model_selected_period.go index d91f4fb..b0278f6 100644 --- a/model_selected_period.go +++ b/model_selected_period.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_selected_period_type.go b/model_selected_period_type.go index 7142c8b..881839b 100644 --- a/model_selected_period_type.go +++ b/model_selected_period_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SelectedPeriodType +// SelectedPeriodType the model 'SelectedPeriodType' type SelectedPeriodType string // List of SelectedPeriodType diff --git a/model_sftp_action.go b/model_sftp_action.go index 9b9f87b..a4bdaf1 100644 --- a/model_sftp_action.go +++ b/model_sftp_action.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SftpAction +// SftpAction the model 'SftpAction' type SftpAction string // List of SftpAction diff --git a/model_single_monitor_check_response.go b/model_single_monitor_check_response.go index bda5391..e8ff1bf 100644 --- a/model_single_monitor_check_response.go +++ b/model_single_monitor_check_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sla.go b/model_sla.go index 4dac19b..32d92ca 100644 --- a/model_sla.go +++ b/model_sla.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sms_provider.go b/model_sms_provider.go index 45e2257..b48ec0a 100644 --- a/model_sms_provider.go +++ b/model_sms_provider.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SmsProvider +// SmsProvider the model 'SmsProvider' type SmsProvider string // List of SmsProvider diff --git a/model_sort_direction.go b/model_sort_direction.go index a139c56..70e7727 100644 --- a/model_sort_direction.go +++ b/model_sort_direction.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SortDirection +// SortDirection the model 'SortDirection' type SortDirection string // List of SortDirection diff --git a/model_sort_order_enum.go b/model_sort_order_enum.go index 92d2843..99d2252 100644 --- a/model_sort_order_enum.go +++ b/model_sort_order_enum.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SortOrderEnum +// SortOrderEnum the model 'SortOrderEnum' type SortOrderEnum string // List of SortOrderEnum diff --git a/model_statistics.go b/model_statistics.go index 4f5c71e..ce2faf8 100644 --- a/model_statistics.go +++ b/model_statistics.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_statistics_attributes.go b/model_statistics_attributes.go index 6f26e02..9084d0d 100644 --- a/model_statistics_attributes.go +++ b/model_statistics_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_statistics_response.go b/model_statistics_response.go index 40a9a25..4ab70e8 100644 --- a/model_statistics_response.go +++ b/model_statistics_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_step_timing_info.go b/model_step_timing_info.go index c297d22..a48a9f7 100644 --- a/model_step_timing_info.go +++ b/model_step_timing_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sub_step_type.go b/model_sub_step_type.go index 4a642e4..1eae659 100644 --- a/model_sub_step_type.go +++ b/model_sub_step_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// SubStepType +// SubStepType the model 'SubStepType' type SubStepType string // List of SubStepType diff --git a/model_throttling_options.go b/model_throttling_options.go index 90ab4c2..2585a08 100644 --- a/model_throttling_options.go +++ b/model_throttling_options.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_throttling_type.go b/model_throttling_type.go index 18053e8..eb1e089 100644 --- a/model_throttling_type.go +++ b/model_throttling_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ThrottlingType +// ThrottlingType the model 'ThrottlingType' type ThrottlingType string // List of ThrottlingType diff --git a/model_throttling_value.go b/model_throttling_value.go index c85959f..a1075ff 100644 --- a/model_throttling_value.go +++ b/model_throttling_value.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// ThrottlingValue +// ThrottlingValue the model 'ThrottlingValue' type ThrottlingValue string // List of ThrottlingValue diff --git a/model_timezone.go b/model_timezone.go index 4e7c92b..55d2ccb 100644 --- a/model_timezone.go +++ b/model_timezone.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tls_version.go b/model_tls_version.go index 47c2bb1..376cc70 100644 --- a/model_tls_version.go +++ b/model_tls_version.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// TlsVersion +// TlsVersion the model 'TlsVersion' type TlsVersion string // List of TlsVersion diff --git a/model_transaction_attributes.go b/model_transaction_attributes.go index 7ffef77..feccb61 100644 --- a/model_transaction_attributes.go +++ b/model_transaction_attributes.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_check_details.go b/model_transaction_check_details.go index 3d2cd1e..278a09f 100644 --- a/model_transaction_check_details.go +++ b/model_transaction_check_details.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_details_response.go b/model_transaction_details_response.go index 4aca7f4..a9dbd8c 100644 --- a/model_transaction_details_response.go +++ b/model_transaction_details_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_step.go b/model_transaction_step.go index a570ffc..d989d8a 100644 --- a/model_transaction_step.go +++ b/model_transaction_step.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_step2.go b/model_transaction_step2.go index a328829..786c2cf 100644 --- a/model_transaction_step2.go +++ b/model_transaction_step2.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_step_definition.go b/model_transaction_step_definition.go index 924cd06..0314304 100644 --- a/model_transaction_step_definition.go +++ b/model_transaction_step_definition.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_step_o_resource_object.go b/model_transaction_step_o_resource_object.go index 15dbf58..87d634b 100644 --- a/model_transaction_step_o_resource_object.go +++ b/model_transaction_step_o_resource_object.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_transaction_sub_step.go b/model_transaction_sub_step.go index 3ca8e45..8b91c8e 100644 --- a/model_transaction_sub_step.go +++ b/model_transaction_sub_step.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user_defined_function.go b/model_user_defined_function.go index a88e01f..1f8db2e 100644 --- a/model_user_defined_function.go +++ b/model_user_defined_function.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user_defined_function_mapping.go b/model_user_defined_function_mapping.go index a13a081..d2b1550 100644 --- a/model_user_defined_function_mapping.go +++ b/model_user_defined_function_mapping.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user_defined_function_type.go b/model_user_defined_function_type.go index 1e41d16..ce315fc 100644 --- a/model_user_defined_function_type.go +++ b/model_user_defined_function_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// UserDefinedFunctionType +// UserDefinedFunctionType the model 'UserDefinedFunctionType' type UserDefinedFunctionType string // List of UserDefinedFunctionType diff --git a/model_vault_item.go b/model_vault_item.go index 5de20e0..9672ba3 100644 --- a/model_vault_item.go +++ b/model_vault_item.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_vault_item_types.go b/model_vault_item_types.go index 642a20b..c3015b3 100644 --- a/model_vault_item_types.go +++ b/model_vault_item_types.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// VaultItemTypes +// VaultItemTypes the model 'VaultItemTypes' type VaultItemTypes string // List of VaultItemTypes diff --git a/model_vault_section.go b/model_vault_section.go index 122d048..830aa01 100644 --- a/model_vault_section.go +++ b/model_vault_section.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_vault_section_authorization.go b/model_vault_section_authorization.go index 1db2845..8217bc5 100644 --- a/model_vault_section_authorization.go +++ b/model_vault_section_authorization.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_vault_section_authorization_type.go b/model_vault_section_authorization_type.go index d88d100..b8c616d 100644 --- a/model_vault_section_authorization_type.go +++ b/model_vault_section_authorization_type.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// VaultSectionAuthorizationType +// VaultSectionAuthorizationType the model 'VaultSectionAuthorizationType' type VaultSectionAuthorizationType string // List of VaultSectionAuthorizationType diff --git a/model_waterfall_info.go b/model_waterfall_info.go index 492e042..9e90c0a 100644 --- a/model_waterfall_info.go +++ b/model_waterfall_info.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_waterfall_response.go b/model_waterfall_response.go index 013a057..74abe6a 100644 --- a/model_waterfall_response.go +++ b/model_waterfall_response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index 3b5f4c1..a9962a7 100644 --- a/response.go +++ b/response.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/utils.go b/utils.go index 1e7dde2..54f43ca 100644 --- a/utils.go +++ b/utils.go @@ -1,10 +1,10 @@ /* - * Uptrends API v4 - * - * This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. - * - * API version: 1.0.0 - */ +Uptrends API v4 + +This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit https://www.uptrends.com/api. + +API version: 1.0.0 +*/ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.