ManualAmendmentCreateRequest class

Constructors

ManualAmendmentCreateRequest({Object? attributes})
Returns a new ManualAmendmentCreateRequest instance.

Properties

attributes ↔ Object?
The requested change, as a JSON object; anything omitted keeps its booked value. Fields: checkInDate and checkOutDate (yyyy-MM-dd); holder (title, firstName, lastName, email, phone); roomGuests, one entry per booked room with a 1-based roomIndex and its guests (title, firstName, lastName, middleName, isAdult defaulting to true, and age for a child). Occupancy follows the guest list. Order reads return the holder's email and phone masked: send one back as returned, or empty, to keep the booked one; any other masked value is refused with 400 / 10001. Their guests carry no isAdult: send false for a guest aged 0–17.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ManualAmendmentCreateRequest?
Returns a new ManualAmendmentCreateRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ManualAmendmentCreateRequest>
mapFromJson(dynamic json) → Map<String, ManualAmendmentCreateRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ManualAmendmentCreateRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.