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

alkyon-annotations.0.13.4.source-code.halkyon-status.vm Maven / Gradle / Ivy

There is a newer version: 2.0.0.beta2
Show newest version
package ${model.packageName};

import io.dekorate.deps.jackson.annotation.JsonInclude;
import io.dekorate.deps.jackson.annotation.JsonProperty;
import io.dekorate.deps.jackson.annotation.JsonPropertyOrder;
import io.dekorate.deps.jackson.databind.annotation.JsonDeserialize;
import io.dekorate.deps.kubernetes.api.model.Doneable;

import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;

#set ($spec = $model.name)
#set ($length = $spec.length())
#set ($tindex = $length - 4)
#set ($resource = $spec.substring(0, $tindex))


@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"phase",
})
@JsonDeserialize(using = io.dekorate.deps.jackson.databind.JsonDeserializer.None.class)
@Buildable(editableEnabled = false, builderPackage = "io.dekorate.deps.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class ${resource}Status {

@JsonProperty("status")
private String phase;

public ${resource}Status() {
}

public ${resource}Status(String phase) {
this.phase = phase;
}

public String getPhase() {
return phase;
}

public void setPhase(String phase) {
this.phase = phase;
}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy