Package

com.thenewmotion.ocpp.messages

v20

Permalink

package v20

Visibility
  1. Public
  2. All

Type Members

  1. case class AdditionalInfo(additionalIdToken: String, type: String) extends Product with Serializable

    Permalink
  2. sealed trait Attribute extends Nameable

    Permalink
  3. case class AuthorizationData(idTokenInfo: IdTokenInfo, idToken: IdToken) extends Product with Serializable

    Permalink
  4. sealed trait AuthorizationStatus extends Nameable

    Permalink
  5. case class AuthorizeRequest(evseId: Option[List[Int]], idToken: IdToken, 15118CertificateHashData: Option[List[OCSPRequestData]]) extends CsmsRequest with Product with Serializable

    Permalink
  6. case class AuthorizeResponse(certificateStatus: Option[CertificateStatus], evseId: Option[List[Int]], idTokenInfo: IdTokenInfo) extends CsmsResponse with Product with Serializable

    Permalink
  7. case class BootNotificationRequest(chargingStation: ChargingStation, reason: BootReason) extends CsmsRequest with Product with Serializable

    Permalink
  8. case class BootNotificationResponse(currentTime: Instant, interval: Int, status: BootNotificationStatus) extends CsmsResponse with Product with Serializable

    Permalink
  9. sealed trait BootNotificationStatus extends Nameable

    Permalink
  10. sealed trait BootReason extends Nameable

    Permalink
  11. sealed trait CertificateStatus extends Nameable

    Permalink
  12. case class ChargingProfile(id: Int, stackLevel: Int, primary: Option[Boolean], chargingProfilePurpose: ChargingProfilePurpose, chargingProfileKind: ChargingProfileKind, recurrencyKind: Option[RecurrencyKind], validFrom: Option[Instant], validTo: Option[Instant], transactionId: Option[String], chargingSchedule: ChargingSchedule) extends Product with Serializable

    Permalink
  13. sealed trait ChargingProfileKind extends Nameable

    Permalink
  14. sealed trait ChargingProfilePurpose extends Nameable

    Permalink
  15. case class ChargingRate(rate: Double) extends Product with Serializable

    Permalink

    ChargingRate is a type that wraps Double so we can make sure to serialize charging rate numbers properly with 1 decimal place, as OCPP requires.

  16. sealed trait ChargingRateUnit extends Nameable

    Permalink
  17. case class ChargingSchedule(startSchedule: Option[Instant], duration: Option[Int], chargingRateUnit: ChargingRateUnit, minChargingRate: Option[ChargingRate], chargingSchedulePeriod: Seq[ChargingSchedulePeriod]) extends Product with Serializable

    Permalink
  18. case class ChargingSchedulePeriod(startPeriod: Int, limit: ChargingRate, numberPhases: Option[Int], phaseToUse: Option[Int]) extends Product with Serializable

    Permalink
  19. sealed trait ChargingState extends Nameable

    Permalink
  20. case class ChargingStation(serialNumber: Option[String], model: String, vendorName: String, firmwareVersion: Option[String], modem: Option[Modem]) extends Product with Serializable

    Permalink
  21. case class Component(name: String, instance: Option[String], evse: Option[EVSE]) extends Product with Serializable

    Permalink
  22. sealed trait ConnectorStatus extends Nameable

    Permalink
  23. abstract class CsReqRes[REQ <: CsRequest, RES <: CsResponse] extends ReqRes[REQ, RES]

    Permalink
  24. trait CsRequest extends Request

    Permalink
  25. trait CsResponse extends Response

    Permalink
  26. abstract class CsmsReqRes[REQ <: CsmsRequest, RES <: CsmsResponse] extends ReqRes[REQ, RES]

    Permalink
  27. trait CsmsRequest extends Request

    Permalink
  28. trait CsmsResponse extends Response

    Permalink
  29. sealed trait Data extends Nameable

    Permalink
  30. case class EVSE(id: Int, connectorId: Option[Int]) extends Product with Serializable

    Permalink
  31. sealed trait EncodingMethod extends Nameable

    Permalink
  32. sealed trait GenericDeviceModelStatus extends Nameable

    Permalink
  33. case class GetBaseReportRequest(requestId: Int, reportBase: ReportBase) extends CsRequest with Product with Serializable

    Permalink
  34. case class GetBaseReportResponse(status: GenericDeviceModelStatus) extends CsResponse with Product with Serializable

    Permalink
  35. case class GetTransactionStatusRequest(transactionId: Option[String]) extends CsRequest with Product with Serializable

    Permalink
  36. case class GetTransactionStatusResponse(ongoingIndicator: Option[Boolean], messagesInQueue: Boolean) extends CsResponse with Product with Serializable

    Permalink
  37. case class GetVariableData(attributeType: Option[Attribute], component: Component, variable: Variable) extends Product with Serializable

    Permalink
  38. case class GetVariableResult(attributeStatus: GetVariableStatus, attributeType: Option[Attribute], attributeValue: Option[String], component: Component, variable: Variable) extends Product with Serializable

    Permalink
  39. sealed trait GetVariableStatus extends Nameable

    Permalink
  40. case class GetVariablesRequest(getVariableData: List[GetVariableData]) extends CsRequest with Product with Serializable

    Permalink
  41. case class GetVariablesResponse(getVariableResult: List[GetVariableResult]) extends CsResponse with Product with Serializable

    Permalink
  42. case class GroupIdToken(idToken: String, type: IdTokenType) extends Product with Serializable

    Permalink
  43. sealed trait HashAlgorithm extends Nameable

    Permalink
  44. case class HeartbeatRequest() extends CsmsRequest with Product with Serializable

    Permalink
  45. case class HeartbeatResponse(currentTime: Instant) extends CsmsResponse with Product with Serializable

    Permalink
  46. case class IdToken(idToken: String, type: IdTokenType, additionalInfo: Option[Seq[AdditionalInfo]]) extends Product with Serializable

    Permalink
  47. case class IdTokenInfo(status: AuthorizationStatus, cacheExpiryDateTime: Option[Instant], chargingPriority: Option[Int], groupIdToken: Option[GroupIdToken], language1: Option[String], language2: Option[String], personalMessage: Option[MessageContent]) extends Product with Serializable

    Permalink
  48. sealed trait IdTokenType extends Nameable

    Permalink
  49. sealed trait Location extends Nameable

    Permalink
  50. sealed trait Measurand extends Nameable

    Permalink
  51. trait Message extends messages.Message

    Permalink
  52. case class MessageContent(format: MessageFormat, language: Option[String], content: String) extends Product with Serializable

    Permalink
  53. sealed trait MessageFormat extends Nameable

    Permalink
  54. case class MeterValue(sampledValue: List[SampledValue], timestamp: Instant) extends Product with Serializable

    Permalink
  55. case class Modem(iccid: Option[String], imsi: Option[String]) extends Product with Serializable

    Permalink
  56. sealed trait Mutability extends Nameable

    Permalink
  57. case class NotifyReportRequest(requestId: Option[Int], generatedAt: Instant, tbc: Boolean, seqNo: Int, reportData: List[ReportData]) extends CsmsRequest with Product with Serializable

    Permalink
  58. case class NotifyReportResponse() extends CsmsResponse with Product with Serializable

    Permalink
  59. case class OCSPRequestData(hashAlgorithm: HashAlgorithm, issuerNameHash: String, issuerKeyHash: String, serialNumber: String, responderURL: Option[String]) extends Product with Serializable

    Permalink
  60. sealed trait Phase extends Nameable

    Permalink
  61. sealed trait ReadingContext extends Nameable

    Permalink
  62. sealed trait Reason extends Nameable

    Permalink
  63. sealed trait RecurrencyKind extends Nameable

    Permalink
  64. sealed trait ReportBase extends Nameable

    Permalink
  65. case class ReportData(component: Component, variable: Variable, variableAttribute: List[VariableAttribute], variableCharacteristics: Option[VariableCharacteristics]) extends Product with Serializable

    Permalink
  66. trait Request extends Message with messages.Request

    Permalink
  67. sealed trait RequestStartStopStatus extends Nameable

    Permalink
  68. case class RequestStartTransactionRequest(evseId: Option[Int], remoteStartId: Int, idToken: IdToken, chargingProfile: Option[ChargingProfile]) extends CsRequest with Product with Serializable

    Permalink
  69. case class RequestStartTransactionResponse(status: RequestStartStopStatus, transactionId: Option[String]) extends CsResponse with Product with Serializable

    Permalink
  70. case class RequestStopTransactionRequest(transactionId: String) extends CsRequest with Product with Serializable

    Permalink
  71. case class RequestStopTransactionResponse(status: RequestStartStopStatus) extends CsResponse with Product with Serializable

    Permalink
  72. trait Response extends Message with messages.Response

    Permalink
  73. case class SampledValue(value: BigDecimal, context: Option[ReadingContext], measurand: Option[Measurand], phase: Option[Phase], location: Option[Location], signedMeterValue: Option[SignedMeterValue], unitOfMeasure: Option[UnitOfMeasure]) extends Product with Serializable

    Permalink
  74. case class SendLocalListRequest(versionNumber: Int, updateType: Update, localAuthorizationData: AuthorizationData) extends CsRequest with Product with Serializable

    Permalink
  75. case class SendLocalListResponse(status: UpdateStatus) extends CsResponse with Product with Serializable

    Permalink
  76. case class SetVariableData(attributeType: Option[Attribute], attributeValue: String, component: Component, variable: Variable) extends Product with Serializable

    Permalink
  77. case class SetVariableResult(attributeType: Option[Attribute], attributeStatus: SetVariableStatus, component: Component, variable: Variable) extends Product with Serializable

    Permalink
  78. sealed trait SetVariableStatus extends Nameable

    Permalink
  79. case class SetVariablesRequest(setVariableData: List[SetVariableData]) extends CsRequest with Product with Serializable

    Permalink
  80. case class SetVariablesResponse(setVariableResult: List[SetVariableResult]) extends CsResponse with Product with Serializable

    Permalink
  81. sealed trait SignatureMethod extends Nameable

    Permalink
  82. case class SignedMeterValue(meterValueSignature: String, signatureMethod: SignatureMethod, encodingMethod: EncodingMethod, encodedMeterValue: String) extends Product with Serializable

    Permalink
  83. case class StatusNotificationRequest(timestamp: Instant, connectorStatus: ConnectorStatus, evseId: Int, connectorId: Int) extends CsmsRequest with Product with Serializable

    Permalink
  84. case class StatusNotificationResponse() extends CsmsResponse with Product with Serializable

    Permalink
  85. case class Transaction(id: String, chargingState: Option[ChargingState], timeSpentCharging: Option[Int], stoppedReason: Option[Reason], remoteStartId: Option[Int]) extends Product with Serializable

    Permalink
  86. sealed trait TransactionEvent extends Nameable

    Permalink
  87. case class TransactionEventRequest(eventType: TransactionEvent, meterValue: Option[List[MeterValue]], timestamp: Instant, triggerReason: TriggerReason, seqNo: Int, offline: Option[Boolean], numberOfPhasesUsed: Option[Int], cableMaxCurrent: Option[BigDecimal], reservationId: Option[Int], transactionData: Transaction, evse: Option[EVSE], idToken: Option[IdToken]) extends CsmsRequest with Product with Serializable

    Permalink
  88. case class TransactionEventResponse(totalCost: Option[BigDecimal], chargingPriority: Option[Int], idTokenInfo: Option[IdTokenInfo], updatedPersonalMessage: Option[MessageContent]) extends CsmsResponse with Product with Serializable

    Permalink
  89. sealed trait TriggerReason extends Nameable

    Permalink
  90. case class UnitOfMeasure(unit: Option[String], multiplier: Option[Int]) extends Product with Serializable

    Permalink
  91. sealed trait Update extends Nameable

    Permalink
  92. sealed trait UpdateStatus extends Nameable

    Permalink
  93. case class Variable(name: String, instance: Option[String]) extends Product with Serializable

    Permalink
  94. case class VariableAttribute(type: Attribute, value: String, mutability: Option[Mutability], persistence: Boolean, constant: Boolean) extends Product with Serializable

    Permalink
  95. case class VariableCharacteristics(unit: Option[String], dataType: Data, minLimit: Option[BigDecimal], maxLimit: Option[BigDecimal], valuesList: Option[String], supportsMonitoring: Boolean) extends Product with Serializable

    Permalink

Value Members

  1. object Attribute extends Enumerable[Attribute]

    Permalink
  2. object AuthorizationStatus extends Enumerable[AuthorizationStatus]

    Permalink
  3. object BootNotificationStatus extends Enumerable[BootNotificationStatus] with Product with Serializable

    Permalink
  4. object BootReason extends Enumerable[BootReason]

    Permalink
  5. object CertificateStatus extends Enumerable[CertificateStatus]

    Permalink
  6. object ChargingProfileKind extends Enumerable[ChargingProfileKind]

    Permalink
  7. object ChargingProfilePurpose extends Enumerable[ChargingProfilePurpose]

    Permalink
  8. object ChargingRateUnit extends Enumerable[ChargingRateUnit]

    Permalink
  9. object ChargingState extends Enumerable[ChargingState]

    Permalink
  10. object ConnectorStatus extends Enumerable[ConnectorStatus]

    Permalink
  11. object CsReqRes

    Permalink
  12. object CsmsReqRes

    Permalink
  13. object Data extends Enumerable[Data]

    Permalink
  14. object EncodingMethod extends Enumerable[EncodingMethod]

    Permalink
  15. object GenericDeviceModelStatus extends Enumerable[GenericDeviceModelStatus]

    Permalink
  16. object GetVariableStatus extends Enumerable[GetVariableStatus]

    Permalink
  17. object HashAlgorithm extends Enumerable[HashAlgorithm]

    Permalink
  18. object IdTokenType extends Enumerable[IdTokenType]

    Permalink
  19. object Location extends Enumerable[Location]

    Permalink
  20. object Measurand extends Enumerable[Measurand]

    Permalink
  21. object MessageFormat extends Enumerable[MessageFormat]

    Permalink
  22. object Mutability extends Enumerable[Mutability]

    Permalink
  23. object Phase extends Enumerable[Phase]

    Permalink
  24. object ReadingContext extends Enumerable[ReadingContext]

    Permalink
  25. object Reason extends Enumerable[Reason]

    Permalink
  26. object RecurrencyKind extends Enumerable[RecurrencyKind]

    Permalink
  27. object ReportBase extends Enumerable[ReportBase]

    Permalink
  28. object RequestStartStopStatus extends Enumerable[RequestStartStopStatus]

    Permalink
  29. object SetVariableStatus extends Enumerable[SetVariableStatus]

    Permalink
  30. object SignatureMethod extends Enumerable[SignatureMethod]

    Permalink
  31. object TransactionEvent extends Enumerable[TransactionEvent]

    Permalink
  32. object TriggerReason extends Enumerable[TriggerReason]

    Permalink
  33. object Update extends Enumerable[Update]

    Permalink
  34. object UpdateStatus extends Enumerable[UpdateStatus]

    Permalink

Ungrouped