Skip to content

Commit

Permalink
added new flags
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Etschel <[email protected]>
  • Loading branch information
etschelp committed Nov 19, 2023
1 parent 847aad7 commit 7b5a532
Show file tree
Hide file tree
Showing 27 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class InvitationCreateRequest {
public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments";
@SerializedName(SERIALIZED_NAME_ATTACHMENTS)
private List<AttachmentDef> attachments = null;
public static final String SERIALIZED_NAME_GOAL = "goal";
@SerializedName(SERIALIZED_NAME_GOAL)
private String goal;
public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
@SerializedName(SERIALIZED_NAME_GOAL_CODE)
private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List<String> handshakeProtocols = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class InvitationMessage {
public static final String SERIALIZED_NAME_ACCEPT = "accept";
@SerializedName(SERIALIZED_NAME_ACCEPT)
private List<String> accept = null;
public static final String SERIALIZED_NAME_GOAL = "goal";
@SerializedName(SERIALIZED_NAME_GOAL)
private String goal;
public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
@SerializedName(SERIALIZED_NAME_GOAL_CODE)
private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List<String> handshakeProtocols = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationCreateRequestRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class V10PresentationExchange {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class V10PresentationProposalRequest {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationSendRequestRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationSendRequestToProposal {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public class V20CredExFree {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
@SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public class V20CredOfferConnFreeRequest {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
@SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public class V20CredOfferRequest {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
@SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20CredRequestRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_HOLDER_DID = "holder_did";
@SerializedName(SERIALIZED_NAME_HOLDER_DID)
private String holderDid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public class V20IssueCredSchemaCore {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
@SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresCreateRequestRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class V20PresExRecord {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class V20PresProposalRequest {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresSendRequestRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresSpecByFormatRequest {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_DIF = "dif";
@SerializedName(SERIALIZED_NAME_DIF)
private DIFPresSpec dif;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresentationSendRequestToProposal {
public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
@SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class V2CredentialExchangeFree {
private UUID connectionId;
private V2CredentialPreview credentialPreview;
private V20CredFilter filter;
private String replacementId;
private Boolean trace;
private String verificationMethod;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/
package org.hyperledger.aries.api.out_of_band;

import com.google.gson.annotations.SerializedName;
import lombok.*;
import org.hyperledger.aries.api.connection.ConnectionRecord;

Expand All @@ -22,6 +23,9 @@ public class InvitationCreateRequest {
private String alias;
@Singular
private List<AttachmentDef> attachments;
private String goal;
@SerializedName("goal_code")
private String goalCode;
@Builder.Default
private List<String> handshakeProtocols = List.of(
ConnectionRecord.ConnectionProtocol.DID_EXCHANGE_V1.getValue(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public abstract class BasePresExRecord implements PresExStateTranslator {
private String updatedAt;

private Boolean autoPresent;
private Boolean autoRemove;
private Boolean autoVerify;
private Boolean trace;
private Boolean verified;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
@Data @NoArgsConstructor @AllArgsConstructor @Builder
public class PresentProofProposal {

private Boolean autoRemove;

private Boolean autoPresent;

private String comment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
@Builder
public final class PresentProofRequest {

private Boolean autoRemove;

private Boolean autoVerify;

private String comment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@NoArgsConstructor
@Builder
public class V20PresCreateRequestRequest {
private Boolean autoRemove;
private Boolean autoVerify;
private String comment;
private V20PresSendRequestRequest.V20PresRequestByFormat presentationRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@Builder
public class V20PresProposalRequest {
private Boolean autoPresent;
private Boolean autoRemove;
private String comment;
private String connectionId;
private V20PresProposalByFormat presentationProposal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@Builder
public class V20PresSendRequestRequest {

private Boolean autoRemove;
private Boolean autoVerify;
private String comment;
private String connectionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@NoArgsConstructor
@Builder
public class V20PresSpecByFormatRequest {
private Boolean autoRemove;
private DIFPresSpec dif;
private SendPresentationRequest indy;
private Boolean trace;
Expand Down

0 comments on commit 7b5a532

Please sign in to comment.