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// Core Services API
6//
7// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
8// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
9// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
10// to manage resources such as virtual cloud networks (VCNs), compute instances, and
11// block storage volumes.
12//
13
14package core
15
16import (
17	"github.com/oracle/oci-go-sdk/common"
18)
19
20// Device Device Path corresponding to the block devices attached to instances having a name and isAvailable flag.
21type Device struct {
22
23	// The device name.
24	Name *string `mandatory:"true" json:"name"`
25
26	// The flag denoting whether device is available.
27	IsAvailable *bool `mandatory:"true" json:"isAvailable"`
28}
29
30func (m Device) String() string {
31	return common.PointerString(m)
32}
33