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

org.cloudfoundry.multiapps.controller.api.model.Module Maven / Gradle / Ivy

There is a newer version: 1.187.0
Show newest version
package org.cloudfoundry.multiapps.controller.api.model;

import java.util.Date;
import java.util.List;

import org.cloudfoundry.multiapps.common.Nullable;
import org.immutables.value.Value;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import io.swagger.annotations.ApiModelProperty;

@Value.Immutable
@JsonSerialize(as = ImmutableModule.class)
@JsonDeserialize(as = ImmutableModule.class)
public interface Module {

    @Nullable
    @ApiModelProperty
    @JsonProperty("moduleName")
    String getModuleName();

    @Nullable
    @ApiModelProperty
    @JsonProperty("appName")
    String getAppName();

    @Nullable
    @ApiModelProperty
    @JsonProperty("createdOn")
    Date getCreatedOn();

    @Nullable
    @ApiModelProperty
    @JsonProperty("updatedOn")
    Date getUpdatedOn();

    // FIXME: This name should be changed in the API as it contains a typo.
    @ApiModelProperty
    @JsonProperty("providedDendencyNames")
    List getProvidedDendencyNames();

    @ApiModelProperty
    @JsonProperty("services")
    List getServices();

    @ApiModelProperty
    @JsonProperty("uris")
    List getUris();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy