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

com.foilen.infra.api.response.ResponseResourceAppliedChanges Maven / Gradle / Ivy

The newest version!
/*
    Foilen Infra API
    https://github.com/foilen/foilen-infra-api
    Copyright (c) 2017-2021 Foilen (https://foilen.com)

    The MIT License
    http://opensource.org/licenses/MIT

 */
package com.foilen.infra.api.response;

import java.util.HashMap;
import java.util.Map;

import com.foilen.infra.api.model.audit.AuditItemSmallWithPagination;
import com.foilen.smalltools.restapi.model.FormResult;

public class ResponseResourceAppliedChanges extends FormResult {

    private String txId;

    // Reporting
    private Map updateCountByResourceId = new HashMap<>();
    private Map executionTimeInMsByActionHandler = new HashMap<>();

    // Auditing
    private AuditItemSmallWithPagination auditItems = new AuditItemSmallWithPagination();

    public AuditItemSmallWithPagination getAuditItems() {
        return auditItems;
    }

    public Map getExecutionTimeInMsByActionHandler() {
        return executionTimeInMsByActionHandler;
    }

    public String getTxId() {
        return txId;
    }

    public Map getUpdateCountByResourceId() {
        return updateCountByResourceId;
    }

    public void setAuditItems(AuditItemSmallWithPagination auditItems) {
        this.auditItems = auditItems;
    }

    public void setExecutionTimeInMsByActionHandler(Map executionTimeInMsByActionHandler) {
        this.executionTimeInMsByActionHandler = executionTimeInMsByActionHandler;
    }

    public void setTxId(String txId) {
        this.txId = txId;
    }

    public void setUpdateCountByResourceId(Map updateCountByResourceId) {
        this.updateCountByResourceId = updateCountByResourceId;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy