Record Class ODataRequestParam
java.lang.Object
java.lang.Record
io.github.xezzon.zeroweb.core.odata.ODataRequestParam
- Record Components:
top- 最大返回条数skip- 偏移量
- All Implemented Interfaces:
Into<ODataQueryOption>
public record ODataRequestParam(Integer top, Integer skip)
extends Record
implements Into<ODataQueryOption>
OData 请求参数
- Author:
- xezzon
-
Constructor Summary
ConstructorsConstructorDescriptionODataRequestParam(Integer top, Integer skip) Creates an instance of aODataRequestParamrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.into()将当前的 OData 请求参数转换为 OData 查询选项。skip()Returns the value of theskiprecord component.top()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ODataRequestParam
-
-
Method Details
-
into
将当前的 OData 请求参数转换为 OData 查询选项。 主要用于将贫血模型ODataRequestParam转换为充血模型ODataQueryOption。- Specified by:
intoin interfaceInto<ODataQueryOption>- Returns:
- 转换后的 OData 查询选项。
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
top
-
skip
-