org.hyperledger.aries.api.message.PingEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aries-client-python Show documentation
Show all versions of aries-client-python Show documentation
Aries Cloud Agent - Python: Java client implementation
/*
* Copyright (c) 2020-2021 - for information on the respective copyright owner
* see the NOTICE file and/or the repository at
* https://github.com/hyperledger-labs/acapy-java-client
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.aries.api.message;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* Web hook event
*
*/
@Data @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true)
public final class PingEvent {
private String threadId;
private String state;
public static PingEvent of(String threadId, String state) {
return new PingEvent(threadId, state);
}
public static PingEvent of(String threadId) {
return new PingEvent().setThreadId(threadId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy