DBTEAMLOGGovernancePolicyEditDurationDetails
Objective-C
@interface DBTEAMLOGGovernancePolicyEditDurationDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGGovernancePolicyEditDurationDetails : NSObject, DBSerializable, NSCopying
The GovernancePolicyEditDurationDetails
struct.
Changed policy duration.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Policy ID.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull governancePolicyId;
Swift
var governancePolicyId: String { get }
-
Policy name.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
Policy type.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType;
Swift
var policyType: DBTEAMLOGPolicyType? { get }
-
From.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *_Nonnull previousValue;
Swift
var previousValue: DBTEAMLOGDurationLogInfo { get }
-
To.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGDurationLogInfo { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithGovernancePolicyId:(nonnull NSString *)governancePolicyId name:(nonnull NSString *)name previousValue:(nonnull DBTEAMLOGDurationLogInfo *)previousValue dNewValue:(nonnull DBTEAMLOGDurationLogInfo *)dNewValue policyType:(nullable DBTEAMLOGPolicyType *)policyType;
Swift
init(governancePolicyId: String, name: String, previousValue: DBTEAMLOGDurationLogInfo, dNewValue: DBTEAMLOGDurationLogInfo, policyType: DBTEAMLOGPolicyType?)
Parameters
governancePolicyId
Policy ID.
name
Policy name.
previousValue
From.
dNewValue
To.
policyType
Policy type.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithGovernancePolicyId:(nonnull NSString *)governancePolicyId name:(nonnull NSString *)name previousValue:(nonnull DBTEAMLOGDurationLogInfo *)previousValue dNewValue:(nonnull DBTEAMLOGDurationLogInfo *)dNewValue;
Swift
init(governancePolicyId: String, name: String, previousValue: DBTEAMLOGDurationLogInfo, dNewValue: DBTEAMLOGDurationLogInfo)
Parameters
governancePolicyId
Policy ID.
name
Policy name.
previousValue
From.
dNewValue
To.
Return Value
An initialized instance.