PWContainer Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCoding NSCopying |
| Declared in | PWContainer.h |
Overview
Containers hold a single structure. All values in a PWContainer object are immutable on the client. You can modify PWContainer values in the MaaS portal. PWContainer conforms to the NSCoding and NSCopying protocol.
Other Methods
containerID
An NSString that is used to identify the Container ID.
@property (nonatomic, readonly) NSString *containerIDDeclared In
PWContainer.h
name
A NSString that is used to identify the container name.
@property (nonatomic, readonly) NSString *nameDeclared In
PWContainer.h
tags
A array of tags associated with the container. A tag is an NSString object.
@property (nonatomic, readonly) NSArray *tagsDeclared In
PWContainer.h
creationDate
The creation date of the container.
@property (nonatomic, readonly) NSDate *creationDateDeclared In
PWContainer.h
lastUpdated
The date of the last update for the container.
@property (nonatomic, readonly) NSDate *lastUpdatedDeclared In
PWContainer.h
Convenience
+ unpack:
Convenience method to instantiate a PWContainer object from a properly formatted NSDictionary object.
+ (instancetype)unpack:(NSDictionary *)dictionaryParameters
dictionary |
The dictionary from which to instantiate the |
|---|
Declared In
PWContainer.h
– dictionary
Returns an NSDictionary representation of the current container.
- (NSDictionary *)dictionaryDeclared In
PWContainer.h