VSSBaseModel Class Reference

Inherits from VSSModel : NSObject
Declared in VSSBaseModel.h

Overview

More concrete base model class for all models which contain Id and createdAt fields.

Other Methods

  Id

Unique identifier of the model received from Virgil Service.

@property (nonatomic, copy, readonly) GUID *Id

Declared In

VSSBaseModel.h

  createdAt

Date when this particular model was created by Virgil Service.

@property (nonatomic, copy, readonly) NSDate *createdAt

Declared In

VSSBaseModel.h

Lifecycle

– initWithId:createdAt:

Designated constructor.

- (instancetype __nonnull)initWithId:(GUID *__nonnull)Id createdAt:(NSDate *__nullable)createdAt

Parameters

Id

Unique identifier of the model.

createdAt

Date when model was created.

Return Value

Instance of the model.

Declared In

VSSBaseModel.h