All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openelements.hiero.base.protocol.FileCreateResult Maven / Gradle / Ivy

The newest version!
package com.openelements.hiero.base.protocol;

import com.hedera.hashgraph.sdk.FileId;
import com.hedera.hashgraph.sdk.Status;
import com.hedera.hashgraph.sdk.TransactionId;
import java.util.Objects;
import org.jspecify.annotations.NonNull;

public record FileCreateResult(@NonNull TransactionId transactionId, @NonNull Status status,
                               @NonNull FileId fileId) implements TransactionResult {

    public FileCreateResult {
        Objects.requireNonNull(transactionId, "transactionId must not be null");
        Objects.requireNonNull(status, "status must not be null");
        Objects.requireNonNull(fileId, "fileId must not be null");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy