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// loggingManagementControlplane API
6//
7// loggingManagementControlplane API specification
8//
9
10package logging
11
12import (
13	"github.com/oracle/oci-go-sdk/common"
14)
15
16// WorkRequestSummary A summary of a work request.
17type WorkRequestSummary struct {
18
19	// The OCID of the work request.
20	Id *string `mandatory:"false" json:"id"`
21
22	// The type of work the work request is doing.
23	OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"`
24
25	// The current status of the work request.
26	Status OperationStatusEnum `mandatory:"false" json:"status,omitempty"`
27
28	// The OCID of the work request’s compartment.
29	CompartmentId *string `mandatory:"false" json:"compartmentId"`
30
31	// The resources this work request affects.
32	Resources []WorkRequestResource `mandatory:"false" json:"resources"`
33
34	// Percentage of the request completed.
35	PercentComplete *float32 `mandatory:"false" json:"percentComplete"`
36
37	// The time the work request was accepted.
38	TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`
39
40	// The time the work request was started.
41	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
42
43	// The time the work request was finished.
44	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
45}
46
47func (m WorkRequestSummary) String() string {
48	return common.PointerString(m)
49}
50