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// RestoreObjectsDetails The representation of RestoreObjectsDetails
16type RestoreObjectsDetails struct {
17
18	// An object that is in an archive storage tier and needs to be restored.
19	ObjectName *string `mandatory:"true" json:"objectName"`
20
21	// The number of hours for which this object will be restored.
22	// By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter.
23	Hours *int `mandatory:"false" json:"hours"`
24}
25
26func (m RestoreObjectsDetails) String() string {
27	return common.PointerString(m)
28}
29