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

com.hp.autonomy.hod.client.util.StatusResponse Maven / Gradle / Ivy

There is a newer version: 0.25.3
Show newest version
/*
 * Copyright 2015-2016 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.hod.client.util;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

// Basic API response just indicating if the action succeeded or failed - in practice success is always true
@Data
public class StatusResponse {
    private final boolean success;

    private StatusResponse(@JsonProperty("success") final boolean success) {
        this.success = success;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy