class Sepia::Backup::BackupManifest

Overview

Manifest containing backup metadata and object information

Defined in:

sepia/backup.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(root_objects : Array(Sepia::Backup::ObjectReference) = [] of ObjectReference) #

[View source]

Class Method Detail

def self.from_json(json : JSON::PullParser) #

[View source]

Instance Method Detail

def add_object(class_name : String, object_ref : ObjectReference) #

[View source]
def all_objects : Hash(String, Array(ObjectReference)) #

[View source]
def all_objects=(all_objects : Hash(String, Array(ObjectReference))) #

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def root_objects : Array(ObjectReference) #

[View source]
def root_objects=(root_objects : Array(ObjectReference)) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def version : String #

[View source]
def version=(version : String) #

[View source]