Skip to content
Merged
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 @@ -62,4 +62,11 @@ public abstract class Route extends Resource {
*/
@JsonProperty("url")
public abstract String getUrl();

/**
* The route options
*/
@JsonProperty("options")
@Nullable
public abstract RouteOptions getOptions();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package org.cloudfoundry.client.v3.routes;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.cloudfoundry.Nullable;
import org.immutables.value.Value;

/**
* Represents a Route Options
*/
@JsonDeserialize
@Value.Immutable
abstract class _RouteOptions {

/**
* The loadbalancing
*/
@JsonProperty("loadbalancing")
@Nullable
public abstract String getLoadbalancing();

}