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 MaaS Portal. PWContainer
conforms to the NSCoding
and NSCopying
protocol.
Tasks
Other Methods
-
containerID
An
propertyNSString
that is used to identify the container ID. -
name
A
propertyNSString
that is used to identify the container name. -
tags
A array of tags associated with the container. A tag is an
propertyNSString
object. -
creationDate
The creation date of the container.
property -
lastUpdated
The last update date for the container.
property
Convenience
-
+ unpack:
Convenience method to instantiate a
PWContainer
object from a properly formattedNSDictionary
object. -
– dictionary
Returns an
NSDictionary
representation of the current container.
Properties
containerID
An NSString
that is used to identify the container ID.
@property (nonatomic, readonly) NSString *containerID
Declared In
PWContainer.h
creationDate
The creation date of the container.
@property (nonatomic, readonly) NSDate *creationDate
Declared In
PWContainer.h
lastUpdated
The last update date for the container.
@property (nonatomic, readonly) NSDate *lastUpdated
Declared In
PWContainer.h
Class Methods
unpack:
Convenience method to instantiate a PWContainer
object from a properly formatted NSDictionary
object.
+ (instancetype)unpack:(NSDictionary *)dictionary
Parameters
- dictionary
The dictionary from which to instantiate the
PWContainer
object.
Declared In
PWContainer.h