/// <summary> /// Compares two SetChargingConnectorAvailabilityStatus responses for equality. /// </summary> /// <param name="SetChargingConnectorAvailabilityStatusResponse">A SetChargingConnectorAvailabilityStatus response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetChargingConnectorAvailabilityStatusResponse SetChargingConnectorAvailabilityStatusResponse) { if ((Object)SetChargingConnectorAvailabilityStatusResponse == null) { return(false); } return(TransactionId.Equals(SetChargingConnectorAvailabilityStatusResponse.TransactionId) && RequestStatus.Equals(SetChargingConnectorAvailabilityStatusResponse.RequestStatus)); }
/// <summary> /// Compares two SetEVSESyntheticStatus responses for equality. /// </summary> /// <param name="SetEVSESyntheticStatusResponse">A SetEVSESyntheticStatus response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetEVSESyntheticStatusResponse SetEVSESyntheticStatusResponse) { if ((Object)SetEVSESyntheticStatusResponse == null) { return(false); } return(TransactionId.Equals(SetEVSESyntheticStatusResponse.TransactionId) && RequestStatus.Equals(SetEVSESyntheticStatusResponse.RequestStatus)); }
/// <summary> /// Compares two SetSessionEventReport responses for equality. /// </summary> /// <param name="SetSessionEventReportResponse">A SetSessionEventReport response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetSessionEventReportResponse SetSessionEventReportResponse) { if (SetSessionEventReportResponse is null) { return(false); } return(TransactionId.Equals(SetSessionEventReportResponse.TransactionId) && RequestStatus.Equals(SetSessionEventReportResponse.RequestStatus)); }
/// <summary> /// Compares two Heartbeat responses for equality. /// </summary> /// <param name="HeartbeatResponse">A Heartbeat response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(HeartbeatResponse HeartbeatResponse) { if ((Object)HeartbeatResponse == null) { return(false); } return(HeartbeatPeriod.Equals(HeartbeatResponse.HeartbeatPeriod) && CurrentTime.Equals(HeartbeatResponse.CurrentTime) && TransactionId.Equals(HeartbeatResponse.TransactionId) && RequestStatus.Equals(HeartbeatResponse.RequestStatus)); }
/// <summary> /// Compares two SetSessionAction responses for equality. /// </summary> /// <param name="SetSessionActionResponse">A SetSessionAction response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetSessionActionResponse SetSessionActionResponse) { if (SetSessionActionResponse is null) { return(false); } return(TransactionId.Equals(SetSessionActionResponse.TransactionId) && RequestStatus.Equals(SetSessionActionResponse.RequestStatus) && ServiceSessionId.Equals(SetSessionActionResponse.ServiceSessionId) && SessionActionId.Equals(SetSessionActionResponse.SessionActionId)); }
/// <summary> /// Compares two SetServiceAuthorisation responses for equality. /// </summary> /// <param name="SetServiceAuthorisationResponse">A SetServiceAuthorisation response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetServiceAuthorisationResponse SetServiceAuthorisationResponse) { if ((Object)SetServiceAuthorisationResponse == null) { return(false); } return(TransactionId.Equals(SetServiceAuthorisationResponse.TransactionId) && RequestStatus.Equals(SetServiceAuthorisationResponse.RequestStatus) && ((!PartnerServiceSessionId.HasValue && !SetServiceAuthorisationResponse.PartnerServiceSessionId.HasValue) || (PartnerServiceSessionId.HasValue && SetServiceAuthorisationResponse.PartnerServiceSessionId.HasValue && PartnerServiceSessionId.Value.Equals(SetServiceAuthorisationResponse.PartnerServiceSessionId.Value)))); }
/// <summary> /// Compares two SetChargeDetailRecord responses for equality. /// </summary> /// <param name="SetChargeDetailRecordResponse">A SetChargeDetailRecord response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetChargeDetailRecordResponse SetChargeDetailRecordResponse) { if (SetChargeDetailRecordResponse is null) { return(false); } return(TransactionId.Equals(SetChargeDetailRecordResponse.TransactionId) && RequestStatus.Equals(SetChargeDetailRecordResponse.RequestStatus) && ((!PartnerServiceSessionId.HasValue && !SetChargeDetailRecordResponse.PartnerServiceSessionId.HasValue) || (PartnerServiceSessionId.HasValue && SetChargeDetailRecordResponse.PartnerServiceSessionId.HasValue && PartnerServiceSessionId.Value.Equals(SetChargeDetailRecordResponse.PartnerServiceSessionId.Value)))); }
/// <summary> /// Compares two SetChargeDetailRecord responses for equality. /// </summary> /// <param name="SetChargeDetailRecordResponse">A SetChargeDetailRecord response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetChargeDetailRecordResponse SetChargeDetailRecordResponse) { if ((Object)SetChargeDetailRecordResponse == null) { return(false); } return(TransactionId.Equals(SetChargeDetailRecordResponse.TransactionId) && ServiceSessionId.Equals(SetChargeDetailRecordResponse.ServiceSessionId) && RequestStatus.Equals(SetChargeDetailRecordResponse.RequestStatus) && ((!SalesPartnerOperatorId.HasValue && !SetChargeDetailRecordResponse.SalesPartnerOperatorId.HasValue) || (SalesPartnerOperatorId.HasValue && SetChargeDetailRecordResponse.SalesPartnerOperatorId.HasValue && SalesPartnerOperatorId.Value.Equals(SetChargeDetailRecordResponse.SalesPartnerOperatorId.Value)))); }
/// <summary> /// Compares two SetServiceAuthorisation responses for equality. /// </summary> /// <param name="SetServiceAuthorisationResponse">A SetServiceAuthorisation response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(SetServiceAuthorisationResponse SetServiceAuthorisationResponse) { if (SetServiceAuthorisationResponse is null) { return(false); } return(TransactionId.Equals(SetServiceAuthorisationResponse.TransactionId) && RequestStatus.Equals(SetServiceAuthorisationResponse.RequestStatus) && ServiceSessionId.Equals(SetServiceAuthorisationResponse.ServiceSessionId) && ((!ExecPartnerOperatorId.HasValue && !SetServiceAuthorisationResponse.ExecPartnerOperatorId.HasValue) || (ExecPartnerOperatorId.HasValue && SetServiceAuthorisationResponse.ExecPartnerOperatorId.HasValue && ExecPartnerOperatorId.Value.Equals(SetServiceAuthorisationResponse.ExecPartnerOperatorId.Value)))); }
/// <summary> /// Compares two GetServiceAuthorisation responses for equality. /// </summary> /// <param name="GetServiceAuthorisationResponse">A GetServiceAuthorisation response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(GetServiceAuthorisationResponse GetServiceAuthorisationResponse) { if (GetServiceAuthorisationResponse is null) { return(false); } return(TransactionId.Equals(GetServiceAuthorisationResponse.TransactionId) && AuthorisationValue.Equals(GetServiceAuthorisationResponse.AuthorisationValue) && PartnerServiceSessionId.Equals(GetServiceAuthorisationResponse.PartnerServiceSessionId) && IntermediateCDRRequested.Equals(GetServiceAuthorisationResponse.IntermediateCDRRequested) && RequestStatus.Equals(GetServiceAuthorisationResponse.RequestStatus) && ((!UserContractIdAlias.HasValue && !GetServiceAuthorisationResponse.UserContractIdAlias.HasValue) || (UserContractIdAlias.HasValue && GetServiceAuthorisationResponse.UserContractIdAlias.HasValue && UserContractIdAlias.Value.Equals(GetServiceAuthorisationResponse.UserContractIdAlias.Value)))); // ToDo: Compare MeterLimitLists! }