UserUpdate

@objcMembers
@objc(GetSocialUserUpdate)
public final class UserUpdate : NSObject

Describe user update object.

  • New display name.

    Declaration

    Swift

    public var displayName: String?
  • New avatar Url.

    Declaration

    Swift

    public var avatarUrl: String? { get set }
  • New avatar image.

    Declaration

    Swift

    public var avatar: UIImage? { get set }
  • Public properties to modify

    Declaration

    Swift

    public var publicProperties: [String : String]
  • Private properties to modify

    Declaration

    Swift

    public var privateProperties: [String : String]
  • Remove public property.

    Declaration

    Swift

    @objc(removePublicPropertyWithKey:)
    public func removePublicProperty(forKey: String)
  • Set public property.

    Declaration

    Swift

    @objc(setPublicPropertyValue:forKey:)
    public func setPublicProperty(value: String, forKey: String)

    Parameters

    value

    Value to set.

    forKey

    Key for the value.

  • Set private property.

    Declaration

    Swift

    @objc(setPrivatePropertyValue:forKey:)
    public func setPrivateProperty(value: String, forKey: String)

    Parameters

    value

    Value to set.

    forKey

    Key for the value.

  • Remove private property.

    Declaration

    Swift

    @objc(removePrivatePropertyWithKey:)
    public func removePrivateProperty(forKey: String)
  • Increase public property value.

    Declaration

    Swift

    @objc(increasePublicPropertyWithKey:by:)
    public func increasePublicProperty(forKey: String, by: Double)

    Parameters

    by

    positive number

  • Decrease public property value.

    Declaration

    Swift

    @objc(decreasePublicPropertyWithKey:by:)
    public func decreasePublicProperty(forKey: String, by: Double)

    Parameters

    by

    positive number

  • Increase private property value.

    Declaration

    Swift

    @objc(increasePrivatePropertyWithKey:by:)
    public func increasePrivateProperty(forKey: String, by: Double)

    Parameters

    by

    positive number

  • Decrease private property value.

    Declaration

    Swift

    @objc(decreasePrivatePropertyWithKey:by:)
    public func decreasePrivateProperty(forKey: String, by: Double)

    Parameters

    by

    positive number

  • Description.

    Declaration

    Swift

    public override var description: String { get }