copyWithWrapped method
DeviceUpdateV2Body
copyWithWrapped({ - Wrapped<int?>? id,
- Wrapped<int?>? productId,
- Wrapped<int?>? authorizationId,
- Wrapped<String?>? serialnumber,
- Wrapped<String?>? displayname,
- Wrapped<DateTime?>? datelastconnected,
- Wrapped<String?>? address1,
- Wrapped<String?>? address2,
- Wrapped<String?>? city,
- Wrapped<String?>? state,
- Wrapped<String?>? postalcode,
- Wrapped<String?>? lat,
- Wrapped<String?>? long,
- Wrapped<int?>? recordstatusId,
- Wrapped<String?>? usercreated,
- Wrapped<DateTime?>? datecreated,
- Wrapped<String?>? usermodified,
- Wrapped<DateTime?>? datemodified,
- Wrapped<int?>? version,
- Wrapped<String?>? connectionType,
- Wrapped<String?>? addedBy,
- Wrapped<bool?>? hasServiceAgreement,
- Wrapped<DateTime?>? serviceAgreementBeginDate,
- Wrapped<String?>? serviceAgreementTerm,
- Wrapped<int?>? serviceAgreementTermMonths,
- Wrapped<int?>? serviceAgreementTermDays,
- Wrapped<bool?>? isApproved,
})
Implementation
DeviceUpdateV2Body copyWithWrapped(
{Wrapped<int?>? id,
Wrapped<int?>? productId,
Wrapped<int?>? authorizationId,
Wrapped<String?>? serialnumber,
Wrapped<String?>? displayname,
Wrapped<DateTime?>? datelastconnected,
Wrapped<String?>? address1,
Wrapped<String?>? address2,
Wrapped<String?>? city,
Wrapped<String?>? state,
Wrapped<String?>? postalcode,
Wrapped<String?>? lat,
Wrapped<String?>? long,
Wrapped<int?>? recordstatusId,
Wrapped<String?>? usercreated,
Wrapped<DateTime?>? datecreated,
Wrapped<String?>? usermodified,
Wrapped<DateTime?>? datemodified,
Wrapped<int?>? version,
Wrapped<String?>? connectionType,
Wrapped<String?>? addedBy,
Wrapped<bool?>? hasServiceAgreement,
Wrapped<DateTime?>? serviceAgreementBeginDate,
Wrapped<String?>? serviceAgreementTerm,
Wrapped<int?>? serviceAgreementTermMonths,
Wrapped<int?>? serviceAgreementTermDays,
Wrapped<bool?>? isApproved}) {
return DeviceUpdateV2Body(
id: (id != null ? id.value : this.id),
productId: (productId != null ? productId.value : this.productId),
authorizationId: (authorizationId != null
? authorizationId.value
: this.authorizationId),
serialnumber:
(serialnumber != null ? serialnumber.value : this.serialnumber),
displayname:
(displayname != null ? displayname.value : this.displayname),
datelastconnected: (datelastconnected != null
? datelastconnected.value
: this.datelastconnected),
address1: (address1 != null ? address1.value : this.address1),
address2: (address2 != null ? address2.value : this.address2),
city: (city != null ? city.value : this.city),
state: (state != null ? state.value : this.state),
postalcode: (postalcode != null ? postalcode.value : this.postalcode),
lat: (lat != null ? lat.value : this.lat),
long: (long != null ? long.value : this.long),
recordstatusId: (recordstatusId != null
? recordstatusId.value
: this.recordstatusId),
usercreated:
(usercreated != null ? usercreated.value : this.usercreated),
datecreated:
(datecreated != null ? datecreated.value : this.datecreated),
usermodified:
(usermodified != null ? usermodified.value : this.usermodified),
datemodified:
(datemodified != null ? datemodified.value : this.datemodified),
version: (version != null ? version.value : this.version),
connectionType: (connectionType != null
? connectionType.value
: this.connectionType),
addedBy: (addedBy != null ? addedBy.value : this.addedBy),
hasServiceAgreement: (hasServiceAgreement != null
? hasServiceAgreement.value
: this.hasServiceAgreement),
serviceAgreementBeginDate: (serviceAgreementBeginDate != null
? serviceAgreementBeginDate.value
: this.serviceAgreementBeginDate),
serviceAgreementTerm: (serviceAgreementTerm != null
? serviceAgreementTerm.value
: this.serviceAgreementTerm),
serviceAgreementTermMonths: (serviceAgreementTermMonths != null
? serviceAgreementTermMonths.value
: this.serviceAgreementTermMonths),
serviceAgreementTermDays: (serviceAgreementTermDays != null
? serviceAgreementTermDays.value
: this.serviceAgreementTermDays),
isApproved: (isApproved != null ? isApproved.value : this.isApproved));
}