Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ abstract class _CreateApplicationRequest {
abstract String getName();

/**
* The ports on which application may listen
* The ports on which the application may listen
*/
@JsonProperty("ports")
@Nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.cloudfoundry.Nullable;
import org.immutables.value.Value;

import java.util.List;
import java.util.Map;

/**
Expand Down Expand Up @@ -154,6 +155,13 @@ abstract class _UpdateApplicationRequest {
@Nullable
abstract String getName();

/**
* The ports on which the application may listen
*/
@JsonProperty("ports")
@Nullable
abstract List<Integer> getPorts();

/**
* Whether the application is production
*/
Expand Down