Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ConnectEvent Queue definition #458

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.io.Serializable;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Class to represent an Amazon Connect contact flow event.
*
Expand Down Expand Up @@ -59,10 +61,34 @@ public static class ContactData implements Serializable, Cloneable {
private String initiationMethod;
private String instanceArn;
private String previousContactId;
private String queue;
private Queue queue;
private SystemEndpoint systemEndpoint;
}

@Data
@Builder(setterPrefix = "with")
@NoArgsConstructor
@AllArgsConstructor
public static class Queue implements Serializable, Cloneable {
@JsonProperty(value = "ARN")
private String arn;
@JsonProperty(value = "Name")
private String name;
@JsonProperty(value = "OutboundCallerId")
private OutboundCallerId outboundCallerId;
}

@Data
@Builder(setterPrefix = "with")
@NoArgsConstructor
@AllArgsConstructor
public static class OutboundCallerId implements Serializable, Cloneable {
@JsonProperty(value = "Address")
private String address;
@JsonProperty(value = "Type")
private String type;
}

@Data
@Builder(setterPrefix = "with")
@NoArgsConstructor
Expand Down