Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 0 additions & 129 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ async fn main() {
])),
),
);
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCustomAttributeConfig", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAttributeAPI::with_config(configuration);
let resp = api
.update_custom_attribute_config(
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management-type_UpdateCaseType.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ async fn main() {
.emoji("🕵🏻‍♂️".to_string()),
),
);
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCaseType", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementTypeAPI::with_config(configuration);
let resp = api.update_case_type("case_type_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_AddCaseInsights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ async fn main() {
)]),
CaseResourceType::CASE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.AddCaseInsights", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.add_case_insights("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_AggregateCases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ async fn main() {
),
CaseAggregateResourceType::AGGREGATE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.AggregateCases", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.aggregate_cases(body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_BulkUpdateCases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ async fn main() {
.payload(BTreeMap::from([("priority".to_string(), "P1".to_string())])),
CaseBulkResourceType::BULK,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.BulkUpdateCases", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.bulk_update_cases(body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CountCases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::CountCasesOptionalParams

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CountCases", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.count_cases(CountCasesOptionalParams::default()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ async fn main() {
.state(CaseAutomationRuleState::ENABLED),
CaseAutomationRuleResourceType::RULE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.create_case_automation_rule("project_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseJiraIssue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ async fn main() {
.fields(BTreeMap::from([])),
JiraIssueResourceType::ISSUES,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseJiraIssue", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.create_case_jira_issue("case_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseLink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ async fn main() {
),
CaseLinkResourceType::LINK,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseLink", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.create_case_link(body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseNotebook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use datadog_api_client::datadogV2::model::NotebookResourceType;
#[tokio::main]
async fn main() {
let body = NotebookCreateRequest::new(NotebookCreateData::new(NotebookResourceType::NOTEBOOK));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseNotebook", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.create_case_notebook("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseServiceNowTicket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ async fn main() {
.assignment_group("IT Support".to_string()),
ServiceNowTicketResourceType::TICKETS,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseServiceNowTicket", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.create_case_service_now_ticket("case_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateCaseView.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ async fn main() {
),
CaseViewResourceType::VIEW,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateCaseView", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.create_case_view(body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_CreateMaintenanceWindow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ async fn main() {
),
MaintenanceWindowResourceType::MAINTENANCE_WINDOW,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.CreateMaintenanceWindow", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.create_maintenance_window(body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_DeleteCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.DeleteCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.delete_case_automation_rule("project_id".to_string(), "rule_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_DeleteCaseLink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.DeleteCaseLink", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.delete_case_link("804cd682-55f6-4541-ab00-b608b282ea7d".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_DeleteCaseView.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.DeleteCaseView", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.delete_case_view("view_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_DeleteMaintenanceWindow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.DeleteMaintenanceWindow", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.delete_maintenance_window("maintenance_window_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_DisableCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.DisableCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.disable_case_automation_rule("project_id".to_string(), "rule_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_EnableCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.EnableCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.enable_case_automation_rule("project_id".to_string(), "rule_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_FavoriteCaseProject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.FavoriteCaseProject", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.favorite_case_project("project_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_GetCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.GetCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.get_case_automation_rule("project_id".to_string(), "rule_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_GetCaseView.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.GetCaseView", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.get_case_view("view_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_LinkIncident.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ async fn main() {
"00000000-0000-0000-0000-000000000000".to_string(),
IncidentResourceType::INCIDENTS,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.LinkIncident", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.link_incident("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_LinkJiraIssueToCase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ async fn main() {
JiraIssueLinkAttributes::new("https://jira.example.com/browse/PROJ-123".to_string()),
JiraIssueResourceType::ISSUES,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.LinkJiraIssueToCase", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.link_jira_issue_to_case("case_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListCaseAutomationRules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListCaseAutomationRules", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.list_case_automation_rules("project_id".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListCaseLinks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::ListCaseLinksOptionalPar

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListCaseLinks", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.list_case_links(
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListCaseTimeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::ListCaseTimelineOptional

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListCaseTimeline", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.list_case_timeline(
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListCaseViews.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListCaseViews", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.list_case_views("project_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListCaseWatchers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListCaseWatchers", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.list_case_watchers("case_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_ListMaintenanceWindows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListMaintenanceWindows", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.list_maintenance_windows().await;
if let Ok(value) = resp {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.ListUserCaseProjectFavorites", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.list_user_case_project_favorites().await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_MoveCaseToProject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ async fn main() {
"e555e290-ed65-49bd-ae18-8acbfcf18db7".to_string(),
ProjectResourceType::PROJECT,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.MoveCaseToProject", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.move_case_to_project("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_RemoveCaseInsights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ async fn main() {
)]),
CaseResourceType::CASE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.RemoveCaseInsights", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.remove_case_insights("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UnfavoriteCaseProject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UnfavoriteCaseProject", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.unfavorite_case_project("project_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UnlinkJiraIssue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UnlinkJiraIssue", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.unlink_jira_issue("case_id".to_string()).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UnwatchCase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI;

#[tokio::main]
async fn main() {
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UnwatchCase", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.unwatch_case("case_id".to_string(), "user_uuid".to_string())
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UpdateCaseAutomationRule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ async fn main() {
.state(CaseAutomationRuleState::ENABLED),
),
);
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCaseAutomationRule", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.update_case_automation_rule("project_id".to_string(), "rule_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UpdateCaseComment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ async fn main() {
CaseUpdateCommentAttributes::new("Updated comment text".to_string()),
CaseResourceType::CASE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCaseComment", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.update_case_comment("case_id".to_string(), "cell_id".to_string(), body)
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UpdateCaseDueDate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ async fn main() {
CaseUpdateDueDateAttributes::new("2026-12-31".to_string()),
CaseResourceType::CASE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCaseDueDate", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api.update_case_due_date("case_id".to_string(), body).await;
if let Ok(value) = resp {
Expand Down
3 changes: 1 addition & 2 deletions examples/v2_case-management_UpdateCaseResolvedReason.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ async fn main() {
CaseUpdateResolvedReasonAttributes::new("FALSE_POSITIVE".to_string()),
CaseResourceType::CASE,
));
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.UpdateCaseResolvedReason", true);
let configuration = datadog::Configuration::new();
let api = CaseManagementAPI::with_config(configuration);
let resp = api
.update_case_resolved_reason("case_id".to_string(), body)
Expand Down
Loading
Loading