|
| 1 | +/*--------------------------------------------------------------------------------------------- |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + *--------------------------------------------------------------------------------------------*/ |
| 4 | + |
| 5 | +// AUTO-GENERATED FILE - DO NOT EDIT |
| 6 | +// Generated from: session-events.schema.json |
| 7 | + |
| 8 | +package com.github.copilot.generated; |
| 9 | + |
| 10 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 11 | +import com.fasterxml.jackson.annotation.JsonInclude; |
| 12 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 13 | +import java.util.List; |
| 14 | +import javax.annotation.processing.Generated; |
| 15 | + |
| 16 | +/** |
| 17 | + * Session event "session.extensions.attachments_pushed". |
| 18 | + * |
| 19 | + * @since 1.0.0 |
| 20 | + */ |
| 21 | +@JsonIgnoreProperties(ignoreUnknown = true) |
| 22 | +@JsonInclude(JsonInclude.Include.NON_NULL) |
| 23 | +@javax.annotation.processing.Generated("copilot-sdk-codegen") |
| 24 | +public final class SessionExtensionsAttachmentsPushedEvent extends SessionEvent { |
| 25 | + |
| 26 | + @Override |
| 27 | + public String getType() { return "session.extensions.attachments_pushed"; } |
| 28 | + |
| 29 | + @JsonProperty("data") |
| 30 | + private SessionExtensionsAttachmentsPushedEventData data; |
| 31 | + |
| 32 | + public SessionExtensionsAttachmentsPushedEventData getData() { return data; } |
| 33 | + public void setData(SessionExtensionsAttachmentsPushedEventData data) { this.data = data; } |
| 34 | + |
| 35 | + /** Data payload for {@link SessionExtensionsAttachmentsPushedEvent}. */ |
| 36 | + @JsonIgnoreProperties(ignoreUnknown = true) |
| 37 | + @JsonInclude(JsonInclude.Include.NON_NULL) |
| 38 | + public record SessionExtensionsAttachmentsPushedEventData( |
| 39 | + /** Attachments contributed by an extension; the host should surface these as composer pills and forward them via the next session.send call. */ |
| 40 | + @JsonProperty("attachments") List<Object> attachments |
| 41 | + ) { |
| 42 | + } |
| 43 | +} |
0 commit comments