1// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. 2// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. 3// Code generated. DO NOT EDIT. 4 5// LogAnalytics API 6// 7// The LogAnalytics API for the LogAnalytics service. 8// 9 10package loganalytics 11 12import ( 13 "github.com/oracle/oci-go-sdk/common" 14) 15 16// StorageWorkRequestSummary Storage work request summary for list operation. 17type StorageWorkRequestSummary struct { 18 19 // Unique OCID identifier to reference this storage work Request with. 20 Id *string `mandatory:"true" json:"id"` 21 22 // Compartment Identifier OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 23 CompartmentId *string `mandatory:"true" json:"compartmentId"` 24 25 // Work request status. 26 Status WorkRequestStatusEnum `mandatory:"true" json:"status"` 27 28 // the end of the time interval 29 TimeDataEnded *common.SDKTime `mandatory:"true" json:"timeDataEnded"` 30 31 // the type of the log data to be purged 32 DataType StorageDataTypeEnum `mandatory:"true" json:"dataType"` 33 34 // Asynchronous storage request name. 35 OperationType StorageOperationTypeEnum `mandatory:"true" json:"operationType"` 36 37 // When the work request started. 38 TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` 39 40 // When the work request was accepted. Should match timeStarted in all cases. 41 TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` 42 43 // When the work request finished execution. 44 TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` 45 46 // When the work request will expire. 47 TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` 48 49 // Percentage progress completion of the work request. 50 PercentComplete *int `mandatory:"false" json:"percentComplete"` 51 52 // the start of the time interval 53 TimeDataStarted *common.SDKTime `mandatory:"false" json:"timeDataStarted"` 54 55 // the solr data filter query, '*' means all 56 PurgeQueryString *string `mandatory:"false" json:"purgeQueryString"` 57 58 // more detailed status if applicable 59 StatusDetails *string `mandatory:"false" json:"statusDetails"` 60 61 // more detailed info about this operation if applicable 62 OperationDetails *string `mandatory:"false" json:"operationDetails"` 63 64 // policy name if applicable (e.g. purge policy) 65 PolicyName *string `mandatory:"false" json:"policyName"` 66 67 // purge policy ID 68 PolicyId *string `mandatory:"false" json:"policyId"` 69 70 // storage usage in bytes if applicable 71 StorageUsageInBytes *int64 `mandatory:"false" json:"storageUsageInBytes"` 72 73 // if true, purge child compartments data, only applicable to purge request 74 CompartmentIdInSubtree *bool `mandatory:"false" json:"compartmentIdInSubtree"` 75} 76 77func (m StorageWorkRequestSummary) String() string { 78 return common.PointerString(m) 79} 80