Inherits from UPBaseEvent : NSObject
Declared in UPMoodAPI.h
UPMoodAPI.m

Overview

An event that represents how the user is feeling.

Properties

type

The type of mood, which controls which icon is used.

@property (nonatomic, assign) UPMoodType type

Discussion

The type of mood, which controls which icon is used.

Declared In

UPMoodAPI.h

Class Methods

moodWithType:title:

Create a new mood event.

+ (UPMood *)moodWithType:(UPMoodType)type title:(NSString *)title

Parameters

type

The mood type of new mood event.

completion

Block to be executed upon completion. This block is passed the result or any error information.

Discussion

Create a new mood event.

Declared In

UPMoodAPI.h

Instance Methods

apiType

- (NSString *)apiType

Declared In

UPBaseEventAPI.h

decodeFromDictionary:

- (void)decodeFromDictionary:(NSDictionary *)dictionary

Declared In

UPBaseEventAPI.h

encodeToDictionary

Encodes an object to a JSON dictionary.

- (NSDictionary *)encodeToDictionary

Discussion

Encodes an object to a JSON dictionary.

Declared In

UPBaseEventAPI.h