File tree 2 files changed +29
-0
lines changed
cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -62,4 +62,11 @@ public abstract class Route extends Resource {
62
62
*/
63
63
@ JsonProperty ("url" )
64
64
public abstract String getUrl ();
65
+
66
+ /**
67
+ * The route options
68
+ */
69
+ @ JsonProperty ("options" )
70
+ @ Nullable
71
+ public abstract RouteOptions getOptions ();
65
72
}
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments