1// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2// Code generated. DO NOT EDIT.
3
4// Object Storage Service API
5//
6// Common set of Object Storage and Archive Storage APIs for managing buckets, objects, and related resources.
7//
8
9package objectstorage
10
11import (
12	"github.com/oracle/oci-go-sdk/common"
13)
14
15// WorkRequestError The representation of WorkRequestError
16type WorkRequestError struct {
17
18	// A machine-usable code for the error that occurred. For the list of error codes,
19	// see API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
20	Code *string `mandatory:"false" json:"code"`
21
22	// A human-readable description of the issue that produced the error.
23	Message *string `mandatory:"false" json:"message"`
24
25	// The time the error occurred.
26	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
27}
28
29func (m WorkRequestError) String() string {
30	return common.PointerString(m)
31}
32