com.adobe.commerce.cif.model.health.StatusReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-model Show documentation
Show all versions of api-model Show documentation
This package contains the REST API and java model definition of the Commerce Integration Framework (CIF) Cloud.
/*******************************************************************************
*
* Copyright 2018 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*
******************************************************************************/
package com.adobe.commerce.cif.model.health;
import io.swagger.annotations.ApiModelProperty;
public class StatusReport {
@ApiModelProperty(value = "The scope that was checked.", required = true)
protected String scope;
@ApiModelProperty(value = "Indicates if scope is healthy or not.", required = true)
protected Boolean healthy;
@ApiModelProperty(value = "Optional message to accompany the reported healthy status. Typically useful when scope is not healthy.")
protected String message;
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
public Boolean isHealthy() {
return healthy;
}
public void setHealthy(Boolean healthy) {
this.healthy = healthy;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy