Program Listing for File Snapshot.h
↰ Return to documentation for file (axr.sdk/models/Snapshot.h
)
// Copyright (C) AcceleratXR, Inc. All rights reserved.
//
// Author: Jean-Philippe Steinmetz <info@acceleratxr.com>
//
// NOTE: This file was auto generated by the AcceleratXR code generator.
// https://gitlab.com/AcceleratXR/Core/code_generator.git
#pragma once
#include "axr.sdk/EntityBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace axr {
namespace sdk {
namespace models {
class Snapshot : public EntityBase
{
public:
Snapshot() {}
Snapshot(const Snapshot& value) : EntityBase(value) {}
Snapshot(Snapshot&& value) : EntityBase(value) {}
virtual ~Snapshot() {}
// Object overrides
virtual Snapshot& SetProperties(const std::map<utility::string_t, Variant>& value) override
{
Object::SetProperties(value);
return *this;
}
virtual Snapshot& SetProperties(std::map<utility::string_t, Variant>&& value) override
{
Object::SetProperties(value);
return *this;
}
virtual Snapshot& SetProperty(const utility::char_t* name, const Variant& value) override
{
Object::SetProperty(name, value);
return*this;
}
virtual Snapshot& SetProperty(const utility::string_t& name, const Variant& value) override
{
Object::SetProperty(name, value);
return*this;
}
virtual Snapshot& SetRemoteUrl(const utility::string_t& url) override
{
Object::SetRemoteUrl(url);
return *this;
}
// EntityBase overrides
virtual Snapshot& SetUid(const utility::string_t& value) override
{
EntityBase::SetUid(value);
return *this;
}
virtual Snapshot& SetDateCreated(const datetime& value) override
{
EntityBase::SetDateCreated(value);
return *this;
}
virtual Snapshot& SetDateModified(const datetime& value) override
{
EntityBase::SetDateModified(value);
return *this;
}
virtual Snapshot& SetVersion(const uint64_t value) override
{
EntityBase::SetVersion(value);
return *this;
}
static const utility::char_t* ClassName()
{
return _XPLATSTR("axr::sdk::models::Snapshot");
}
void Validate() override;
// Snapshot members
utility::string_t GetName() const;
#ifdef AXR_COMPILE_SERVER
Snapshot& SetName(const utility::string_t& value);
#endif // AXR_COMPILE_SERVER
std::vector<utility::string_t> GetAssets() const;
#ifdef AXR_COMPILE_SERVER
Snapshot& SetAssets(const std::vector<utility::string_t> value);
#endif // AXR_COMPILE_SERVER
utility::string_t GetDescription() const;
#ifdef AXR_COMPILE_SERVER
Snapshot& SetDescription(const utility::string_t& value);
#endif // AXR_COMPILE_SERVER
utility::string_t GetEnvironment() const;
#ifdef AXR_COMPILE_SERVER
Snapshot& SetEnvironment(const utility::string_t& value);
#endif // AXR_COMPILE_SERVER
utility::string_t GetNotes() const;
#ifdef AXR_COMPILE_SERVER
Snapshot& SetNotes(const utility::string_t& value);
#endif // AXR_COMPILE_SERVER
};
} // namespace models
} // namespace axr
} // namespace sdk