Record Class UpdateAppReq
java.lang.Object
java.lang.Record
io.github.xezzon.zeroweb.app.entity.UpdateAppReq
- Record Components:
id- 服务ID,标识要更新的特定服务。name- 服务名称,非空。baseUrl- 服务的基础访问路径,必须是一个有效的 URL。ordinal- 服务的显示顺序,值越小优先级越高。
- All Implemented Interfaces:
io.github.xezzon.zeroweb.core.trait.Into<App>
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateAppReq(@NotNull String id, @NotBlank @Size(max=255) String name, @URL @NotNull @Size(max=2083) String baseUrl, @NotNull Integer ordinal) Creates an instance of aUpdateAppReqrecord class. -
Method Summary
Modifier and TypeMethodDescription@URL @NotNull @Size(max=2083) StringbaseUrl()Returns the value of thebaseUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Stringid()Returns the value of theidrecord component.into()@NotBlank @Size(max=255) Stringname()Returns the value of thenamerecord component.@NotNull Integerordinal()Returns the value of theordinalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateAppReq
-
-
Method Details
-
into
-
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). -
id
-
name
-
baseUrl
-
ordinal
-