PLCnext API Documentation 26.6.0.38
Backup.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12#include "Arp/Services/BackupAndRestore/Services/VerificationIssue.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
16namespace Arp::Services::BackupAndRestore::Services
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
27class ARP_EXPORT Backup : public RscSerializable
28{
29public: // construction/destruction
30 Backup(void);
31 Backup(const RscString<64>& name, const RscString<512>& filename, const RscString<512>& manufacturer, const RscString<512>& manufacturerUri, const RscString<512>& productCode, const RscString<512>& model, const RscString<512>& targetFirmwareRevision, DateTime releaseDate, VerificationIssue issue);
32
33public: // Properties
38
44
49
54
59
64
69
74
78 VerificationIssue Issue = static_cast<VerificationIssue>(0);
79
80public: // Rsc operations
81 void Serialize(RscWriter& writer)const;
82 void Deserialize(RscReader& reader);
83 void Serialize(JRscWriter& writer)const;
84 void Deserialize(JRscReader& reader);
85 static size_t GetFieldCount(void);
86};
87
88} // end of namespace Arp::Services::BackupAndRestore::Services
This class contains date and time informations.
Definition: DateTime.hpp:27
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Description of a backup.
Definition: Backup.hpp:28
RscString< 64 > Name
The backup name assigned during creation.
Definition: Backup.hpp:37
RscString< 512 > Manufacturer
The manufacturer of the device.
Definition: Backup.hpp:48
Backup(void)
Constructs an Backup instance.
RscString< 512 > ProductCode
The product code of the device.
Definition: Backup.hpp:58
DateTime ReleaseDate
Release date of the backup, which should be the time of creation.
Definition: Backup.hpp:73
RscString< 512 > ManufacturerUri
The unique identifier for the manufacturer of the device.
Definition: Backup.hpp:53
RscString< 512 > Model
A human readable name of the product code.
Definition: Backup.hpp:63
RscString< 512 > Filename
The name of the backup file. The backup file is stored in $ARP_PATH_DATA_DIR$/Services/BackupAndResto...
Definition: Backup.hpp:43
RscString< 512 > TargetFirmwareRevision
The target firmware version of the backup.
Definition: Backup.hpp:68
Namespace for the JSON RSC extension
Root namespace for the PLCnext API