net.nemerosa.ontrack.model.structure.PromotionRunRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.structure;
import lombok.Data;
import java.beans.ConstructorProperties;
import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;
@Data
public class PromotionRunRequest {
private final Integer promotionLevelId;
private final String promotionLevelName;
private final LocalDateTime dateTime;
private final String description;
private final List properties;
@ConstructorProperties({"promotionLevelId", "promotionLevelName", "dateTime", "description", "properties"})
public PromotionRunRequest(Integer promotionLevelId, String promotionLevelName, LocalDateTime dateTime, String description, List properties) {
this.promotionLevelId = promotionLevelId;
this.promotionLevelName = promotionLevelName;
this.dateTime = dateTime;
this.description = description;
this.properties = properties != null ? properties : Collections.emptyList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy