Skip to content

Commit ae64ebd

Browse files
authored
Add v3.Route.options properties (#1264)
- Introduced in CAPI 3.183 - cloudfoundry/cloud_controller_ng#4080
1 parent 35753d7 commit ae64ebd

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes/Route.java

+7
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,11 @@ public abstract class Route extends Resource {
6262
*/
6363
@JsonProperty("url")
6464
public abstract String getUrl();
65+
66+
/**
67+
* The route options
68+
*/
69+
@JsonProperty("options")
70+
@Nullable
71+
public abstract RouteOptions getOptions();
6572
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package org.cloudfoundry.client.v3.routes;
2+
3+
import com.fasterxml.jackson.annotation.JsonProperty;
4+
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
5+
import org.cloudfoundry.Nullable;
6+
import org.immutables.value.Value;
7+
8+
/**
9+
* Represents a Route Options
10+
*/
11+
@JsonDeserialize
12+
@Value.Immutable
13+
abstract class _RouteOptions {
14+
15+
/**
16+
* The loadbalancing
17+
*/
18+
@JsonProperty("loadbalancing")
19+
@Nullable
20+
public abstract String getLoadbalancing();
21+
22+
}

0 commit comments

Comments
 (0)