OrganizationAnalysis

data class OrganizationAnalysis(val id: String, val domain: String, val status: AnalysisResultStatus, val statusReason: AnalysisResultStatusReason? = null, val lastAnalyzedAt: Date, val data: AnalysisResultData? = null, val owner: String, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a shared, domain-keyed privacy analysis of an organization.

The same underlying analysis is returned to every caller asking about the same domain; it carries only organization-generic signals. id equals the analyzed domain and owner is the requesting caller.

Constructors

Link copied to clipboard
constructor(id: String, domain: String, status: AnalysisResultStatus, statusReason: AnalysisResultStatusReason? = null, lastAnalyzedAt: Date, data: AnalysisResultData? = null, owner: String, version: Int, createdAt: Date, updatedAt: Date)

Properties

Link copied to clipboard

Date Date for when the analysis was created.

Link copied to clipboard

AnalysisResultData Structured analysis payload. Populated when status is COMPLETE or PARTIAL, otherwise null.

Link copied to clipboard

String The analyzed domain (equal to id).

Link copied to clipboard
val id: String

String Identifies the shared analysis. Equal to the analyzed domain.

Link copied to clipboard

Date When the aggregate was last derived.

Link copied to clipboard

String The caller who requested this view. The underlying analysis is shared.

Link copied to clipboard

AnalysisResultStatus Aggregate status. PENDING while an asynchronous source is still resolving; re-query for the terminal result.

Link copied to clipboard

AnalysisResultStatusReason Reason associated with the current status. null when no reason is provided.

Link copied to clipboard

Date Date for when the analysis was last updated.

Link copied to clipboard

Int Version of this entity. Increments on update.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)