DBFILEREQUESTSGracePeriod

@interface DBFILEREQUESTSGracePeriod : NSObject <DBSerializable, NSCopying>

The GracePeriod union.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Initializes union class with tag state of one_day.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOneDay;

    Swift

    init(oneDay: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of two_days.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTwoDays;

    Swift

    init(twoDays: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of seven_days.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSevenDays;

    Swift

    init(sevenDays: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of thirty_days.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithThirtyDays;

    Swift

    init(thirtyDays: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of always.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAlways;

    Swift

    init(always: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of other.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOther;

    Swift

    init(other: ())

    Return Value

    An initialized instance.

  • Retrieves whether the union’s current tag state has value one_day.

    Declaration

    Objective-C

    - (BOOL)isOneDay;

    Swift

    func isOneDay() -> Bool

    Return Value

    Whether the union’s current tag state has value one_day.

  • Retrieves whether the union’s current tag state has value two_days.

    Declaration

    Objective-C

    - (BOOL)isTwoDays;

    Swift

    func isTwoDays() -> Bool

    Return Value

    Whether the union’s current tag state has value two_days.

  • Retrieves whether the union’s current tag state has value seven_days.

    Declaration

    Objective-C

    - (BOOL)isSevenDays;

    Swift

    func isSevenDays() -> Bool

    Return Value

    Whether the union’s current tag state has value seven_days.

  • Retrieves whether the union’s current tag state has value thirty_days.

    Declaration

    Objective-C

    - (BOOL)isThirtyDays;

    Swift

    func isThirtyDays() -> Bool

    Return Value

    Whether the union’s current tag state has value thirty_days.

  • Retrieves whether the union’s current tag state has value always.

    Declaration

    Objective-C

    - (BOOL)isAlways;

    Swift

    func isAlways() -> Bool

    Return Value

    Whether the union’s current tag state has value always.

  • Retrieves whether the union’s current tag state has value other.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return Value

    Whether the union’s current tag state has value other.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.