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// Blockchain Platform Control Plane API 6// 7// Blockchain Platform Control Plane API 8// 9 10package blockchain 11 12import ( 13 "github.com/oracle/oci-go-sdk/common" 14) 15 16// ModifyPeerDetails peer to modify ocpu allocation 17type ModifyPeerDetails struct { 18 19 // peer identifier 20 PeerName *string `mandatory:"true" json:"peerName"` 21 22 OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"` 23} 24 25func (m ModifyPeerDetails) String() string { 26 return common.PointerString(m) 27} 28