
com.morpheusdata.model.AppTier Maven / Gradle / Ivy
/*
* Copyright 2024 Morpheus Data, LLC.
*
* Licensed under the PLUGIN CORE SOURCE LICENSE (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://raw.githubusercontent.com/gomorpheus/morpheus-plugin-core/v1.0.x/LICENSE
*
* 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 CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.morpheusdata.model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.morpheusdata.model.serializers.ModelAsIdOnlySerializer;
public class AppTier extends MorpheusModel {
@JsonSerialize(using= ModelAsIdOnlySerializer.class)
protected App app;
@JsonSerialize(using= ModelAsIdOnlySerializer.class)
protected Tier tier;
protected Integer bootSequence = 0;
protected Integer appVersion = 1;
public App getApp() {
return app;
}
public void setApp(App app) {
this.app = app;
markDirty("app", app);
}
public Tier getTier() {
return tier;
}
public void setTier(Tier tier) {
this.tier = tier;
markDirty("tier", tier);
}
public Integer getBootSequence() {
return bootSequence;
}
public void setBootSequence(Integer bootSequence) {
this.bootSequence = bootSequence;
markDirty("bootSequence", bootSequence);
}
public Integer getAppVersion() {
return appVersion;
}
public void setAppVersion(Integer appVersion) {
this.appVersion = appVersion;
markDirty("appVersion", appVersion);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy