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
59 changes: 56 additions & 3 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5716,9 +5716,41 @@ components:
required:
- facet
type: object
ListStreamIssuePersona:
description: Persona filter for the `issue_stream` data source.
enum:
- all
- browser
- mobile
- backend
type: string
x-enum-varnames:
- ALL
- BROWSER
- MOBILE
- BACKEND
ListStreamIssueState:
description: Issue state filter for the `issue_stream` data source.
enum:
- OPEN
- IGNORED
- ACKNOWLEDGED
- RESOLVED
type: string
x-enum-varnames:
- OPEN
- IGNORED
- ACKNOWLEDGED
- RESOLVED
ListStreamQuery:
description: Updated list stream widget.
properties:
assignee_uuids:
description: Filter by assignee UUIDs. Usable only with `issue_stream`.
items:
description: Assignee UUID.
type: string
type: array
clustering_pattern_field_path:
description: Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.
example: "message"
Expand Down Expand Up @@ -5746,16 +5778,35 @@ components:
description: Index.
type: string
type: array
persona:
$ref: "#/components/schemas/ListStreamIssuePersona"
query_string:
description: Widget query.
example: "@service:app"
type: string
sort:
$ref: "#/components/schemas/WidgetFieldSort"
states:
description: Filter by issue states. Usable only with `issue_stream`.
items:
$ref: "#/components/schemas/ListStreamIssueState"
type: array
storage:
description: Option for storage location. Feature in Private Beta.
example: "indexes"
type: string
suspected_causes:
description: Filter by suspected causes. Usable only with `issue_stream`.
items:
description: Suspected cause.
type: string
type: array
team_handles:
description: Filter by team handles. Usable only with `issue_stream`.
items:
description: Team handle.
type: string
type: array
required:
- query_string
- data_source
Expand All @@ -5769,8 +5820,8 @@ components:
x-enum-varnames:
- EVENT_LIST
ListStreamSource:
default: apm_issue_stream
description: Source from which to query items to display in the stream.
default: logs_stream
description: Source from which to query items to display in the stream. apm_issue_stream, rum_issue_stream, and logs_issue_stream are deprecated. Use issue_stream instead.
enum:
- logs_stream
- audit_stream
Expand All @@ -5785,7 +5836,8 @@ components:
- event_stream
- rum_stream
- llm_observability_stream
example: apm_issue_stream
- issue_stream
example: logs_stream
type: string
x-enum-varnames:
- LOGS_STREAM
Expand All @@ -5801,6 +5853,7 @@ components:
- EVENT_STREAM
- RUM_STREAM
- LLM_OBSERVABILITY_STREAM
- ISSUE_STREAM
ListStreamWidgetDefinition:
description: |-
The list stream visualization displays a table of recent events in your application that
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2019-Present Datadog, Inc.
*/

package com.datadog.api.client.v1.model;

import com.datadog.api.client.ModelEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/** Persona filter for the <code>issue_stream</code> data source. */
@JsonSerialize(using = ListStreamIssuePersona.ListStreamIssuePersonaSerializer.class)
public class ListStreamIssuePersona extends ModelEnum<String> {

private static final Set<String> allowedValues =
new HashSet<String>(Arrays.asList("all", "browser", "mobile", "backend"));

public static final ListStreamIssuePersona ALL = new ListStreamIssuePersona("all");
public static final ListStreamIssuePersona BROWSER = new ListStreamIssuePersona("browser");
public static final ListStreamIssuePersona MOBILE = new ListStreamIssuePersona("mobile");
public static final ListStreamIssuePersona BACKEND = new ListStreamIssuePersona("backend");

ListStreamIssuePersona(String value) {
super(value, allowedValues);
}

public static class ListStreamIssuePersonaSerializer
extends StdSerializer<ListStreamIssuePersona> {
public ListStreamIssuePersonaSerializer(Class<ListStreamIssuePersona> t) {
super(t);
}

public ListStreamIssuePersonaSerializer() {
this(null);
}

@Override
public void serialize(
ListStreamIssuePersona value, JsonGenerator jgen, SerializerProvider provider)
throws IOException, JsonProcessingException {
jgen.writeObject(value.value);
}
}

@JsonCreator
public static ListStreamIssuePersona fromValue(String value) {
return new ListStreamIssuePersona(value);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2019-Present Datadog, Inc.
*/

package com.datadog.api.client.v1.model;

import com.datadog.api.client.ModelEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/** Issue state filter for the <code>issue_stream</code> data source. */
@JsonSerialize(using = ListStreamIssueState.ListStreamIssueStateSerializer.class)
public class ListStreamIssueState extends ModelEnum<String> {

private static final Set<String> allowedValues =
new HashSet<String>(Arrays.asList("OPEN", "IGNORED", "ACKNOWLEDGED", "RESOLVED"));

public static final ListStreamIssueState OPEN = new ListStreamIssueState("OPEN");
public static final ListStreamIssueState IGNORED = new ListStreamIssueState("IGNORED");
public static final ListStreamIssueState ACKNOWLEDGED = new ListStreamIssueState("ACKNOWLEDGED");
public static final ListStreamIssueState RESOLVED = new ListStreamIssueState("RESOLVED");

ListStreamIssueState(String value) {
super(value, allowedValues);
}

public static class ListStreamIssueStateSerializer extends StdSerializer<ListStreamIssueState> {
public ListStreamIssueStateSerializer(Class<ListStreamIssueState> t) {
super(t);
}

public ListStreamIssueStateSerializer() {
this(null);
}

@Override
public void serialize(
ListStreamIssueState value, JsonGenerator jgen, SerializerProvider provider)
throws IOException, JsonProcessingException {
jgen.writeObject(value.value);
}
}

@JsonCreator
public static ListStreamIssueState fromValue(String value) {
return new ListStreamIssueState(value);
}
}
Loading
Loading