Record Class IdentifiableAccountingPointData.Payload
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.cds.providers.ap.IdentifiableAccountingPointData.Payload
- Enclosing class:
IdentifiableAccountingPointData
public static record IdentifiableAccountingPointData.Payload(List<energy.eddie.regionconnector.cds.openapi.model.AccountsEndpoint200ResponseAllOfAccountsInner> accounts, List<energy.eddie.regionconnector.cds.openapi.model.ServiceContractEndpoint200ResponseAllOfServiceContractsInner> serviceContracts, List<energy.eddie.regionconnector.cds.openapi.model.ServicePointEndpoint200ResponseAllOfServicePointsInner> servicePoints, List<energy.eddie.regionconnector.cds.openapi.model.MeterDeviceEndpoint200ResponseAllOfMeterDevicesInner> meterDevices)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPayload(List<energy.eddie.regionconnector.cds.openapi.model.AccountsEndpoint200ResponseAllOfAccountsInner> accounts, List<energy.eddie.regionconnector.cds.openapi.model.ServiceContractEndpoint200ResponseAllOfServiceContractsInner> serviceContracts, List<energy.eddie.regionconnector.cds.openapi.model.ServicePointEndpoint200ResponseAllOfServicePointsInner> servicePoints, List<energy.eddie.regionconnector.cds.openapi.model.MeterDeviceEndpoint200ResponseAllOfMeterDevicesInner> meterDevices) Creates an instance of aPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<energy.eddie.regionconnector.cds.openapi.model.AccountsEndpoint200ResponseAllOfAccountsInner> accounts()Returns the value of theaccountsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<energy.eddie.regionconnector.cds.openapi.model.MeterDeviceEndpoint200ResponseAllOfMeterDevicesInner> Returns the value of themeterDevicesrecord component.List<energy.eddie.regionconnector.cds.openapi.model.ServiceContractEndpoint200ResponseAllOfServiceContractsInner> Returns the value of theserviceContractsrecord component.List<energy.eddie.regionconnector.cds.openapi.model.ServicePointEndpoint200ResponseAllOfServicePointsInner> Returns the value of theservicePointsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Payload
public Payload(List<energy.eddie.regionconnector.cds.openapi.model.AccountsEndpoint200ResponseAllOfAccountsInner> accounts, List<energy.eddie.regionconnector.cds.openapi.model.ServiceContractEndpoint200ResponseAllOfServiceContractsInner> serviceContracts, List<energy.eddie.regionconnector.cds.openapi.model.ServicePointEndpoint200ResponseAllOfServicePointsInner> servicePoints, List<energy.eddie.regionconnector.cds.openapi.model.MeterDeviceEndpoint200ResponseAllOfMeterDevicesInner> meterDevices) Creates an instance of aPayloadrecord class.- Parameters:
accounts- the value for theaccountsrecord componentserviceContracts- the value for theserviceContractsrecord componentservicePoints- the value for theservicePointsrecord componentmeterDevices- the value for themeterDevicesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
accounts
public List<energy.eddie.regionconnector.cds.openapi.model.AccountsEndpoint200ResponseAllOfAccountsInner> accounts()Returns the value of theaccountsrecord component.- Returns:
- the value of the
accountsrecord component
-
serviceContracts
public List<energy.eddie.regionconnector.cds.openapi.model.ServiceContractEndpoint200ResponseAllOfServiceContractsInner> serviceContracts()Returns the value of theserviceContractsrecord component.- Returns:
- the value of the
serviceContractsrecord component
-
servicePoints
public List<energy.eddie.regionconnector.cds.openapi.model.ServicePointEndpoint200ResponseAllOfServicePointsInner> servicePoints()Returns the value of theservicePointsrecord component.- Returns:
- the value of the
servicePointsrecord component
-
meterDevices
public List<energy.eddie.regionconnector.cds.openapi.model.MeterDeviceEndpoint200ResponseAllOfMeterDevicesInner> meterDevices()Returns the value of themeterDevicesrecord component.- Returns:
- the value of the
meterDevicesrecord component
-