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 NSString that is used to identify the container ID.

    property
  •   name

    A NSString that is used to identify the container name.

    property
  •   tags

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

    property
  •   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 formatted NSDictionary 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

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