Class AggregationSpec
- java.lang.Object
-
- io.datahubproject.openapi.generated.AggregationSpec
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-06-09T09:27:54.187483Z[Etc/UTC]") public class AggregationSpec extends java.lang.Object
Provides the aggregation specification on a member/field.
-
-
Constructor Summary
Constructors Constructor Description AggregationSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationSpec
aggregationType(AggregationType aggregationType)
boolean
equals(java.lang.Object o)
AggregationSpec
fieldPath(java.lang.String fieldPath)
@NotNull @Valid AggregationType
getAggregationType()
Get aggregationType@NotNull java.lang.String
getFieldPath()
Name of the member/field.int
hashCode()
void
setAggregationType(AggregationType aggregationType)
void
setFieldPath(java.lang.String fieldPath)
java.lang.String
toString()
-
-
-
Method Detail
-
fieldPath
public AggregationSpec fieldPath(java.lang.String fieldPath)
-
getFieldPath
@NotNull public @NotNull java.lang.String getFieldPath()
Name of the member/field.- Returns:
- fieldPath
-
setFieldPath
public void setFieldPath(java.lang.String fieldPath)
-
aggregationType
public AggregationSpec aggregationType(AggregationType aggregationType)
-
getAggregationType
@NotNull @Valid public @NotNull @Valid AggregationType getAggregationType()
Get aggregationType- Returns:
- aggregationType
-
setAggregationType
public void setAggregationType(AggregationType aggregationType)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-