github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelSynchronization.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Synchronization undocumented 8 type Synchronization struct { 9 // Entity is the base model of Synchronization 10 Entity 11 // Secrets undocumented 12 Secrets []SynchronizationSecretKeyStringValuePair `json:"secrets,omitempty"` 13 // Jobs undocumented 14 Jobs []SynchronizationJob `json:"jobs,omitempty"` 15 // Templates undocumented 16 Templates []SynchronizationTemplate `json:"templates,omitempty"` 17 } 18 19 // SynchronizationError undocumented 20 type SynchronizationError struct { 21 // Object is the base model of SynchronizationError 22 Object 23 // Code undocumented 24 Code *string `json:"code,omitempty"` 25 // Message undocumented 26 Message *string `json:"message,omitempty"` 27 // TenantActionable undocumented 28 TenantActionable *bool `json:"tenantActionable,omitempty"` 29 } 30 31 // SynchronizationJob undocumented 32 type SynchronizationJob struct { 33 // Entity is the base model of SynchronizationJob 34 Entity 35 // TemplateID undocumented 36 TemplateID *string `json:"templateId,omitempty"` 37 // Schedule undocumented 38 Schedule *SynchronizationSchedule `json:"schedule,omitempty"` 39 // Status undocumented 40 Status *SynchronizationStatus `json:"status,omitempty"` 41 // SynchronizationJobSettings undocumented 42 SynchronizationJobSettings []KeyValuePair `json:"synchronizationJobSettings,omitempty"` 43 // Schema undocumented 44 Schema *SynchronizationSchema `json:"schema,omitempty"` 45 } 46 47 // SynchronizationJobRestartCriteria undocumented 48 type SynchronizationJobRestartCriteria struct { 49 // Object is the base model of SynchronizationJobRestartCriteria 50 Object 51 // ResetScope undocumented 52 ResetScope *SynchronizationJobRestartScope `json:"resetScope,omitempty"` 53 } 54 55 // SynchronizationProgress undocumented 56 type SynchronizationProgress struct { 57 // Object is the base model of SynchronizationProgress 58 Object 59 // CompletedUnits undocumented 60 CompletedUnits *int `json:"completedUnits,omitempty"` 61 // ProgressObservationDateTime undocumented 62 ProgressObservationDateTime *time.Time `json:"progressObservationDateTime,omitempty"` 63 // TotalUnits undocumented 64 TotalUnits *int `json:"totalUnits,omitempty"` 65 // Units undocumented 66 Units *string `json:"units,omitempty"` 67 } 68 69 // SynchronizationQuarantine undocumented 70 type SynchronizationQuarantine struct { 71 // Object is the base model of SynchronizationQuarantine 72 Object 73 // CurrentBegan undocumented 74 CurrentBegan *time.Time `json:"currentBegan,omitempty"` 75 // NextAttempt undocumented 76 NextAttempt *time.Time `json:"nextAttempt,omitempty"` 77 // Reason undocumented 78 Reason *QuarantineReason `json:"reason,omitempty"` 79 // SeriesBegan undocumented 80 SeriesBegan *time.Time `json:"seriesBegan,omitempty"` 81 // SeriesCount undocumented 82 SeriesCount *int `json:"seriesCount,omitempty"` 83 } 84 85 // SynchronizationRule undocumented 86 type SynchronizationRule struct { 87 // Object is the base model of SynchronizationRule 88 Object 89 // Editable undocumented 90 Editable *bool `json:"editable,omitempty"` 91 // ID undocumented 92 ID *string `json:"id,omitempty"` 93 // Metadata undocumented 94 Metadata []StringKeyStringValuePair `json:"metadata,omitempty"` 95 // Name undocumented 96 Name *string `json:"name,omitempty"` 97 // ObjectMappings undocumented 98 ObjectMappings []ObjectMapping `json:"objectMappings,omitempty"` 99 // Priority undocumented 100 Priority *int `json:"priority,omitempty"` 101 // SourceDirectoryName undocumented 102 SourceDirectoryName *string `json:"sourceDirectoryName,omitempty"` 103 // TargetDirectoryName undocumented 104 TargetDirectoryName *string `json:"targetDirectoryName,omitempty"` 105 } 106 107 // SynchronizationSchedule undocumented 108 type SynchronizationSchedule struct { 109 // Object is the base model of SynchronizationSchedule 110 Object 111 // Expiration undocumented 112 Expiration *time.Time `json:"expiration,omitempty"` 113 // Interval undocumented 114 Interval *Duration `json:"interval,omitempty"` 115 // State undocumented 116 State *SynchronizationScheduleState `json:"state,omitempty"` 117 } 118 119 // SynchronizationSchema undocumented 120 type SynchronizationSchema struct { 121 // Entity is the base model of SynchronizationSchema 122 Entity 123 // ProvisioningTaskIdentifier undocumented 124 ProvisioningTaskIdentifier *string `json:"provisioningTaskIdentifier,omitempty"` 125 // SynchronizationRules undocumented 126 SynchronizationRules []SynchronizationRule `json:"synchronizationRules,omitempty"` 127 // Version undocumented 128 Version *string `json:"version,omitempty"` 129 // Directories undocumented 130 Directories []DirectoryDefinition `json:"directories,omitempty"` 131 } 132 133 // SynchronizationSecretKeyStringValuePair undocumented 134 type SynchronizationSecretKeyStringValuePair struct { 135 // Object is the base model of SynchronizationSecretKeyStringValuePair 136 Object 137 // Key undocumented 138 Key *SynchronizationSecret `json:"key,omitempty"` 139 // Value undocumented 140 Value *string `json:"value,omitempty"` 141 } 142 143 // SynchronizationStatus undocumented 144 type SynchronizationStatus struct { 145 // Object is the base model of SynchronizationStatus 146 Object 147 // CountSuccessiveCompleteFailures undocumented 148 CountSuccessiveCompleteFailures *int `json:"countSuccessiveCompleteFailures,omitempty"` 149 // EscrowsPruned undocumented 150 EscrowsPruned *bool `json:"escrowsPruned,omitempty"` 151 // Code undocumented 152 Code *SynchronizationStatusCode `json:"code,omitempty"` 153 // LastExecution undocumented 154 LastExecution *SynchronizationTaskExecution `json:"lastExecution,omitempty"` 155 // LastSuccessfulExecution undocumented 156 LastSuccessfulExecution *SynchronizationTaskExecution `json:"lastSuccessfulExecution,omitempty"` 157 // LastSuccessfulExecutionWithExports undocumented 158 LastSuccessfulExecutionWithExports *SynchronizationTaskExecution `json:"lastSuccessfulExecutionWithExports,omitempty"` 159 // Progress undocumented 160 Progress []SynchronizationProgress `json:"progress,omitempty"` 161 // Quarantine undocumented 162 Quarantine *SynchronizationQuarantine `json:"quarantine,omitempty"` 163 // SteadyStateFirstAchievedTime undocumented 164 SteadyStateFirstAchievedTime *time.Time `json:"steadyStateFirstAchievedTime,omitempty"` 165 // SteadyStateLastAchievedTime undocumented 166 SteadyStateLastAchievedTime *time.Time `json:"steadyStateLastAchievedTime,omitempty"` 167 // SynchronizedEntryCountByType undocumented 168 SynchronizedEntryCountByType []StringKeyLongValuePair `json:"synchronizedEntryCountByType,omitempty"` 169 // TroubleshootingURL undocumented 170 TroubleshootingURL *string `json:"troubleshootingUrl,omitempty"` 171 } 172 173 // SynchronizationTaskExecution undocumented 174 type SynchronizationTaskExecution struct { 175 // Object is the base model of SynchronizationTaskExecution 176 Object 177 // ActivityIdentifier undocumented 178 ActivityIdentifier *string `json:"activityIdentifier,omitempty"` 179 // CountEntitled undocumented 180 CountEntitled *int `json:"countEntitled,omitempty"` 181 // CountEntitledForProvisioning undocumented 182 CountEntitledForProvisioning *int `json:"countEntitledForProvisioning,omitempty"` 183 // CountEscrowed undocumented 184 CountEscrowed *int `json:"countEscrowed,omitempty"` 185 // CountEscrowedRaw undocumented 186 CountEscrowedRaw *int `json:"countEscrowedRaw,omitempty"` 187 // CountExported undocumented 188 CountExported *int `json:"countExported,omitempty"` 189 // CountExports undocumented 190 CountExports *int `json:"countExports,omitempty"` 191 // CountImported undocumented 192 CountImported *int `json:"countImported,omitempty"` 193 // CountImportedDeltas undocumented 194 CountImportedDeltas *int `json:"countImportedDeltas,omitempty"` 195 // CountImportedReferenceDeltas undocumented 196 CountImportedReferenceDeltas *int `json:"countImportedReferenceDeltas,omitempty"` 197 // State undocumented 198 State *SynchronizationTaskExecutionResult `json:"state,omitempty"` 199 // Error undocumented 200 Error *SynchronizationError `json:"error,omitempty"` 201 // TimeBegan undocumented 202 TimeBegan *time.Time `json:"timeBegan,omitempty"` 203 // TimeEnded undocumented 204 TimeEnded *time.Time `json:"timeEnded,omitempty"` 205 } 206 207 // SynchronizationTemplate undocumented 208 type SynchronizationTemplate struct { 209 // Entity is the base model of SynchronizationTemplate 210 Entity 211 // ApplicationID undocumented 212 ApplicationID *UUID `json:"applicationId,omitempty"` 213 // Default undocumented 214 Default *bool `json:"default,omitempty"` 215 // Description undocumented 216 Description *string `json:"description,omitempty"` 217 // Discoverable undocumented 218 Discoverable *bool `json:"discoverable,omitempty"` 219 // FactoryTag undocumented 220 FactoryTag *string `json:"factoryTag,omitempty"` 221 // Metadata undocumented 222 Metadata []MetadataEntry `json:"metadata,omitempty"` 223 // Schema undocumented 224 Schema *SynchronizationSchema `json:"schema,omitempty"` 225 }