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.

Tasks

Other Methods

Convenience

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 date of the last update for the container.

@property (nonatomic, readonly) NSDate *lastUpdated

Declared In

PWContainer.h

name

A NSString that is used to identify the container name.

@property (nonatomic, readonly) NSString *name

Declared In

PWContainer.h

tags

A array of tags associated with the container. A tag is an NSString object.

@property (nonatomic, readonly) NSArray *tags

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

Instance Methods

dictionary

Returns an NSDictionary representation of the current container.

- (NSDictionary *)dictionary

Declared In

PWContainer.h