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// Data Science API 6// 7// Use the Data Science APIs to organize your data science work, access data and computing resources, and build, train, deploy, and manage models on Oracle Cloud. 8// 9 10package datascience 11 12import ( 13 "github.com/oracle/oci-go-sdk/common" 14) 15 16// WorkRequestSummary Summary information for a work request. 17type WorkRequestSummary struct { 18 19 // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. 20 Id *string `mandatory:"true" json:"id"` 21 22 // The type of work the work request is doing. 23 OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` 24 25 // The current status of the work request. 26 Status WorkRequestStatusEnum `mandatory:"true" json:"status"` 27 28 // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request's compartment. 29 CompartmentId *string `mandatory:"true" json:"compartmentId"` 30 31 // Percentage of the request completed. 32 PercentComplete *float32 `mandatory:"true" json:"percentComplete"` 33 34 // The resources affected by this work request. 35 Resources []WorkRequestResource `mandatory:"true" json:"resources"` 36 37 // The date and time the work request was accepted, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). 38 TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` 39 40 // The date and time the work request was started, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). 41 TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` 42 43 // The date and time the work request was finished, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). 44 TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` 45} 46 47func (m WorkRequestSummary) String() string { 48 return common.PointerString(m) 49} 50