DBTEAMLOGDefaultLinkExpirationDaysPolicy

Objective-C

@interface DBTEAMLOGDefaultLinkExpirationDaysPolicy
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGDefaultLinkExpirationDaysPolicy : NSObject, DBSerializable, NSCopying

The DefaultLinkExpirationDaysPolicy union.

Policy for the default number of days until an externally shared link expires

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

Instance fields

Constructors

  • Initializes union class with tag state of “day_1”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay1;

    Swift

    init(day1: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “day_180”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay180;

    Swift

    init(day180: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “day_3”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay3;

    Swift

    init(day3: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “day_30”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay30;

    Swift

    init(day30: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “day_7”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay7;

    Swift

    init(day7: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “day_90”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDay90;

    Swift

    init(day90: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “none”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNone;

    Swift

    init(none: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “year_1”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithYear1;

    Swift

    init(year1: ())

    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.

Tag state methods

  • Retrieves whether the union’s current tag state has value “day_1”.

    Declaration

    Objective-C

    - (BOOL)isDay1;

    Swift

    func isDay1() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_1”.

  • Retrieves whether the union’s current tag state has value “day_180”.

    Declaration

    Objective-C

    - (BOOL)isDay180;

    Swift

    func isDay180() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_180”.

  • Retrieves whether the union’s current tag state has value “day_3”.

    Declaration

    Objective-C

    - (BOOL)isDay3;

    Swift

    func isDay3() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_3”.

  • Retrieves whether the union’s current tag state has value “day_30”.

    Declaration

    Objective-C

    - (BOOL)isDay30;

    Swift

    func isDay30() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_30”.

  • Retrieves whether the union’s current tag state has value “day_7”.

    Declaration

    Objective-C

    - (BOOL)isDay7;

    Swift

    func isDay7() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_7”.

  • Retrieves whether the union’s current tag state has value “day_90”.

    Declaration

    Objective-C

    - (BOOL)isDay90;

    Swift

    func isDay90() -> Bool

    Return Value

    Whether the union’s current tag state has value “day_90”.

  • Retrieves whether the union’s current tag state has value “none”.

    Declaration

    Objective-C

    - (BOOL)isNone;

    Swift

    func isNone() -> Bool

    Return Value

    Whether the union’s current tag state has value “none”.

  • Retrieves whether the union’s current tag state has value “year_1”.

    Declaration

    Objective-C

    - (BOOL)isYear1;

    Swift

    func isYear1() -> Bool

    Return Value

    Whether the union’s current tag state has value “year_1”.

  • 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.