DBTEAMLOGGovernancePolicyZipPartDownloadedDetails

Objective-C

@interface DBTEAMLOGGovernancePolicyZipPartDownloadedDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGGovernancePolicyZipPartDownloadedDetails : NSObject, DBSerializable, NSCopying

The GovernancePolicyZipPartDownloadedDetails struct.

Downloaded content from a policy.

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

Instance fields

  • 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 }
  • Export name.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull exportName;

    Swift

    var exportName: String { get }
  • Part.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *part;

    Swift

    var part: String? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithGovernancePolicyId:(nonnull NSString *)governancePolicyId
                              name:(nonnull NSString *)name
                        exportName:(nonnull NSString *)exportName
                        policyType:(nullable DBTEAMLOGPolicyType *)policyType
                              part:(nullable NSString *)part;

    Swift

    init(governancePolicyId: String, name: String, exportName: String, policyType: DBTEAMLOGPolicyType?, part: String?)

    Parameters

    governancePolicyId

    Policy ID.

    name

    Policy name.

    exportName

    Export name.

    policyType

    Policy type.

    part

    Part.

    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
                        exportName:(nonnull NSString *)exportName;

    Swift

    init(governancePolicyId: String, name: String, exportName: String)

    Parameters

    governancePolicyId

    Policy ID.

    name

    Policy name.

    exportName

    Export name.

    Return Value

    An initialized instance.