1// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2// Code generated. DO NOT EDIT.
3
4// Core Services API
5//
6// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10// block storage volumes.
11//
12
13package core
14
15import (
16	"github.com/oracle/oci-go-sdk/common"
17)
18
19// Device Device Path corresponding to the block devices attached to instances having a name and isAvailable flag.
20type Device struct {
21
22	// The device name.
23	Name *string `mandatory:"true" json:"name"`
24
25	// The flag denoting whether device is available.
26	IsAvailable *bool `mandatory:"true" json:"isAvailable"`
27}
28
29func (m Device) String() string {
30	return common.PointerString(m)
31}
32