BnsGetNamespacePriceResponse
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Units | string | ||
| Amount | string |
Methods
NewBnsGetNamespacePriceResponse
func NewBnsGetNamespacePriceResponse(units string, amount string, ) *BnsGetNamespacePriceResponse
NewBnsGetNamespacePriceResponse instantiates a new BnsGetNamespacePriceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewBnsGetNamespacePriceResponseWithDefaults
func NewBnsGetNamespacePriceResponseWithDefaults() *BnsGetNamespacePriceResponse
NewBnsGetNamespacePriceResponseWithDefaults instantiates a new BnsGetNamespacePriceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetUnits
func (o *BnsGetNamespacePriceResponse) GetUnits() string
GetUnits returns the Units field if non-nil, zero value otherwise.
GetUnitsOk
func (o *BnsGetNamespacePriceResponse) GetUnitsOk() (*string, bool)
GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUnits
func (o *BnsGetNamespacePriceResponse) SetUnits(v string)
SetUnits sets Units field to given value.
GetAmount
func (o *BnsGetNamespacePriceResponse) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
GetAmountOk
func (o *BnsGetNamespacePriceResponse) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAmount
func (o *BnsGetNamespacePriceResponse) SetAmount(v string)
SetAmount sets Amount field to given value.