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

io.dekorate.halkyon.model.Storage Maven / Gradle / Ivy

There is a newer version: 2.0.0.beta2
Show newest version
/**
 * Copyright 2018 The original authors.
 * 

* Licensed 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 CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.dekorate.halkyon.model; import io.dekorate.deps.jackson.annotation.JsonInclude; 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; /** * * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "name", "value" }) @JsonDeserialize(using = io.dekorate.deps.jackson.databind.JsonDeserializer.None.class) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.dekorate.deps.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done")) public class Storage { private String name; private String capacity; private String mode; public Storage() { } public Storage(String name, String capacity, String mode) { this.name = name; this.capacity = capacity; this.mode = mode; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCapacity() { return capacity; } public void setCapacity(String capacity) { this.capacity = capacity; } public String getMode() { return mode; } public void setMode(String mode) { this.mode = mode; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy