github.com/openshift-online/ocm-sdk-go@v0.1.473/arohcp/v1alpha1/value_builder_alias.go (about) 1 /* 2 Copyright (c) 2020 Red Hat, Inc. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // IMPORTANT: This file has been generated automatically, refrain from modifying it manually as all 18 // your changes will be lost when the file is generated again. 19 20 package v1alpha1 // github.com/openshift-online/ocm-sdk-go/arohcp/v1alpha1 21 22 import ( 23 api_v1alpha1 "github.com/openshift-online/ocm-api-model/clientapi/arohcp/v1alpha1" 24 ) 25 26 // ValueBuilder contains the data and logic needed to build 'value' objects. 27 // 28 // Numeric value and the unit used to measure it. 29 // 30 // Units are not mandatory, and they're not specified for some resources. For 31 // resources that use bytes, the accepted units are: 32 // 33 // - 1 B = 1 byte 34 // - 1 KB = 10^3 bytes 35 // - 1 MB = 10^6 bytes 36 // - 1 GB = 10^9 bytes 37 // - 1 TB = 10^12 bytes 38 // - 1 PB = 10^15 bytes 39 // 40 // - 1 B = 1 byte 41 // - 1 KiB = 2^10 bytes 42 // - 1 MiB = 2^20 bytes 43 // - 1 GiB = 2^30 bytes 44 // - 1 TiB = 2^40 bytes 45 // - 1 PiB = 2^50 bytes 46 type ValueBuilder = api_v1alpha1.ValueBuilder 47 48 // NewValue creates a new builder of 'value' objects. 49 var NewValue = api_v1alpha1.NewValue