master
Models
ResourceLimits

Name
Type
Description
Notes
CoresPerServer
int32
The maximum number of cores per server.
CoresPerContract
int32
The maximum number of cores per contract.
CoresProvisioned
int32
The number of cores provisioned.
RamPerServer
int32
The maximum RAM per server.
RamPerContract
int32
The maximum RAM per contract.
RamProvisioned
int32
RAM provisioned.
HddLimitPerVolume
int64
HDD limit per volume.
HddLimitPerContract
int64
HDD limit per contract.
HddVolumeProvisioned
int64
HDD volume provisioned.
SsdLimitPerVolume
int64
SSD limit per volume.
SsdLimitPerContract
int64
SSD limit per contract.
SsdVolumeProvisioned
int64
SSD volume provisioned.
DasVolumeProvisioned
int64
DAS (Direct Attached Storage) volume provisioned.
ReservableIps
int32
Total reservable IP limit for the customer.
ReservedIpsOnContract
int32
Reserved ips for the contract.
ReservedIpsInUse
int32
Reserved ips in use.
K8sClusterLimitTotal
int32
K8s clusters total limit.
K8sClustersProvisioned
int32
K8s clusters provisioned.
NlbLimitTotal
int32
NLB total limit.
NlbProvisioned
int32
NLBs provisioned.
NatGatewayLimitTotal
int32
NAT Gateway total limit.
NatGatewayProvisioned
int32
NAT Gateways provisioned.

func NewResourceLimits(coresPerServer int32, coresPerContract int32, coresProvisioned int32, ramPerServer int32, ramPerContract int32, ramProvisioned int32, hddLimitPerVolume int64, hddLimitPerContract int64, hddVolumeProvisioned int64, ssdLimitPerVolume int64, ssdLimitPerContract int64, ssdVolumeProvisioned int64, dasVolumeProvisioned int64, reservableIps int32, reservedIpsOnContract int32, reservedIpsInUse int32, k8sClusterLimitTotal int32, k8sClustersProvisioned int32, nlbLimitTotal int32, nlbProvisioned int32, natGatewayLimitTotal int32, natGatewayProvisioned int32, ) *ResourceLimits
NewResourceLimits instantiates a new ResourceLimits 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

func NewResourceLimitsWithDefaults() *ResourceLimits
NewResourceLimitsWithDefaults instantiates a new ResourceLimits 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

func (o *ResourceLimits) GetCoresPerServer() int32
GetCoresPerServer returns the CoresPerServer field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetCoresPerServerOk() (*int32, bool)
GetCoresPerServerOk returns a tuple with the CoresPerServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetCoresPerServer(v int32)
SetCoresPerServer sets CoresPerServer field to given value.

func (o *ResourceLimits) GetCoresPerContract() int32
GetCoresPerContract returns the CoresPerContract field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetCoresPerContractOk() (*int32, bool)
GetCoresPerContractOk returns a tuple with the CoresPerContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetCoresPerContract(v int32)
SetCoresPerContract sets CoresPerContract field to given value.

func (o *ResourceLimits) GetCoresProvisioned() int32
GetCoresProvisioned returns the CoresProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetCoresProvisionedOk() (*int32, bool)
GetCoresProvisionedOk returns a tuple with the CoresProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetCoresProvisioned(v int32)
SetCoresProvisioned sets CoresProvisioned field to given value.

func (o *ResourceLimits) GetRamPerServer() int32
GetRamPerServer returns the RamPerServer field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetRamPerServerOk() (*int32, bool)
GetRamPerServerOk returns a tuple with the RamPerServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetRamPerServer(v int32)
SetRamPerServer sets RamPerServer field to given value.

func (o *ResourceLimits) GetRamPerContract() int32
GetRamPerContract returns the RamPerContract field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetRamPerContractOk() (*int32, bool)
GetRamPerContractOk returns a tuple with the RamPerContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetRamPerContract(v int32)
SetRamPerContract sets RamPerContract field to given value.

func (o *ResourceLimits) GetRamProvisioned() int32
GetRamProvisioned returns the RamProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetRamProvisionedOk() (*int32, bool)
GetRamProvisionedOk returns a tuple with the RamProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetRamProvisioned(v int32)
SetRamProvisioned sets RamProvisioned field to given value.

func (o *ResourceLimits) GetHddLimitPerVolume() int64
GetHddLimitPerVolume returns the HddLimitPerVolume field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetHddLimitPerVolumeOk() (*int64, bool)
GetHddLimitPerVolumeOk returns a tuple with the HddLimitPerVolume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetHddLimitPerVolume(v int64)
SetHddLimitPerVolume sets HddLimitPerVolume field to given value.

func (o *ResourceLimits) GetHddLimitPerContract() int64
GetHddLimitPerContract returns the HddLimitPerContract field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetHddLimitPerContractOk() (*int64, bool)
GetHddLimitPerContractOk returns a tuple with the HddLimitPerContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetHddLimitPerContract(v int64)
SetHddLimitPerContract sets HddLimitPerContract field to given value.

func (o *ResourceLimits) GetHddVolumeProvisioned() int64
GetHddVolumeProvisioned returns the HddVolumeProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetHddVolumeProvisionedOk() (*int64, bool)
GetHddVolumeProvisionedOk returns a tuple with the HddVolumeProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetHddVolumeProvisioned(v int64)
SetHddVolumeProvisioned sets HddVolumeProvisioned field to given value.

func (o *ResourceLimits) GetSsdLimitPerVolume() int64
GetSsdLimitPerVolume returns the SsdLimitPerVolume field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetSsdLimitPerVolumeOk() (*int64, bool)
GetSsdLimitPerVolumeOk returns a tuple with the SsdLimitPerVolume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetSsdLimitPerVolume(v int64)
SetSsdLimitPerVolume sets SsdLimitPerVolume field to given value.

func (o *ResourceLimits) GetSsdLimitPerContract() int64
GetSsdLimitPerContract returns the SsdLimitPerContract field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetSsdLimitPerContractOk() (*int64, bool)
GetSsdLimitPerContractOk returns a tuple with the SsdLimitPerContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetSsdLimitPerContract(v int64)
SetSsdLimitPerContract sets SsdLimitPerContract field to given value.

func (o *ResourceLimits) GetSsdVolumeProvisioned() int64
GetSsdVolumeProvisioned returns the SsdVolumeProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetSsdVolumeProvisionedOk() (*int64, bool)
GetSsdVolumeProvisionedOk returns a tuple with the SsdVolumeProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetSsdVolumeProvisioned(v int64)
SetSsdVolumeProvisioned sets SsdVolumeProvisioned field to given value.

func (o *ResourceLimits) GetDasVolumeProvisioned() int64
GetDasVolumeProvisioned returns the DasVolumeProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetDasVolumeProvisionedOk() (*int64, bool)
GetDasVolumeProvisionedOk returns a tuple with the DasVolumeProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetDasVolumeProvisioned(v int64)
SetDasVolumeProvisioned sets DasVolumeProvisioned field to given value.

func (o *ResourceLimits) GetReservableIps() int32
GetReservableIps returns the ReservableIps field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetReservableIpsOk() (*int32, bool)
GetReservableIpsOk returns a tuple with the ReservableIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetReservableIps(v int32)
SetReservableIps sets ReservableIps field to given value.

func (o *ResourceLimits) GetReservedIpsOnContract() int32
GetReservedIpsOnContract returns the ReservedIpsOnContract field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetReservedIpsOnContractOk() (*int32, bool)
GetReservedIpsOnContractOk returns a tuple with the ReservedIpsOnContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetReservedIpsOnContract(v int32)
SetReservedIpsOnContract sets ReservedIpsOnContract field to given value.

func (o *ResourceLimits) GetReservedIpsInUse() int32
GetReservedIpsInUse returns the ReservedIpsInUse field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetReservedIpsInUseOk() (*int32, bool)
GetReservedIpsInUseOk returns a tuple with the ReservedIpsInUse field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetReservedIpsInUse(v int32)
SetReservedIpsInUse sets ReservedIpsInUse field to given value.

func (o *ResourceLimits) GetK8sClusterLimitTotal() int32
GetK8sClusterLimitTotal returns the K8sClusterLimitTotal field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetK8sClusterLimitTotalOk() (*int32, bool)
GetK8sClusterLimitTotalOk returns a tuple with the K8sClusterLimitTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetK8sClusterLimitTotal(v int32)
SetK8sClusterLimitTotal sets K8sClusterLimitTotal field to given value.

func (o *ResourceLimits) GetK8sClustersProvisioned() int32
GetK8sClustersProvisioned returns the K8sClustersProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetK8sClustersProvisionedOk() (*int32, bool)
GetK8sClustersProvisionedOk returns a tuple with the K8sClustersProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetK8sClustersProvisioned(v int32)
SetK8sClustersProvisioned sets K8sClustersProvisioned field to given value.

func (o *ResourceLimits) GetNlbLimitTotal() int32
GetNlbLimitTotal returns the NlbLimitTotal field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetNlbLimitTotalOk() (*int32, bool)
GetNlbLimitTotalOk returns a tuple with the NlbLimitTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetNlbLimitTotal(v int32)
SetNlbLimitTotal sets NlbLimitTotal field to given value.

func (o *ResourceLimits) GetNlbProvisioned() int32
GetNlbProvisioned returns the NlbProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetNlbProvisionedOk() (*int32, bool)
GetNlbProvisionedOk returns a tuple with the NlbProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetNlbProvisioned(v int32)
SetNlbProvisioned sets NlbProvisioned field to given value.

func (o *ResourceLimits) GetNatGatewayLimitTotal() int32
GetNatGatewayLimitTotal returns the NatGatewayLimitTotal field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetNatGatewayLimitTotalOk() (*int32, bool)
GetNatGatewayLimitTotalOk returns a tuple with the NatGatewayLimitTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetNatGatewayLimitTotal(v int32)
SetNatGatewayLimitTotal sets NatGatewayLimitTotal field to given value.

func (o *ResourceLimits) GetNatGatewayProvisioned() int32
GetNatGatewayProvisioned returns the NatGatewayProvisioned field if non-nil, zero value otherwise.

func (o *ResourceLimits) GetNatGatewayProvisionedOk() (*int32, bool)
GetNatGatewayProvisionedOk returns a tuple with the NatGatewayProvisioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (o *ResourceLimits) SetNatGatewayProvisioned(v int32)
SetNatGatewayProvisioned sets NatGatewayProvisioned field to given value.
Export as PDF
Copy link
On this page
Properties
Methods
NewResourceLimits
NewResourceLimitsWithDefaults
GetCoresPerServer
GetCoresPerServerOk
SetCoresPerServer
GetCoresPerContract
GetCoresPerContractOk
SetCoresPerContract
GetCoresProvisioned
GetCoresProvisionedOk
SetCoresProvisioned
GetRamPerServer
GetRamPerServerOk
SetRamPerServer
GetRamPerContract
GetRamPerContractOk
SetRamPerContract
GetRamProvisioned
GetRamProvisionedOk
SetRamProvisioned
GetHddLimitPerVolume
GetHddLimitPerVolumeOk
SetHddLimitPerVolume
GetHddLimitPerContract
GetHddLimitPerContractOk
SetHddLimitPerContract
GetHddVolumeProvisioned
GetHddVolumeProvisionedOk
SetHddVolumeProvisioned
GetSsdLimitPerVolume
GetSsdLimitPerVolumeOk
SetSsdLimitPerVolume
GetSsdLimitPerContract
GetSsdLimitPerContractOk
SetSsdLimitPerContract
GetSsdVolumeProvisioned
GetSsdVolumeProvisionedOk
SetSsdVolumeProvisioned
GetDasVolumeProvisioned
GetDasVolumeProvisionedOk
SetDasVolumeProvisioned
GetReservableIps
GetReservableIpsOk
SetReservableIps
GetReservedIpsOnContract
GetReservedIpsOnContractOk
SetReservedIpsOnContract
GetReservedIpsInUse
GetReservedIpsInUseOk
SetReservedIpsInUse
GetK8sClusterLimitTotal
GetK8sClusterLimitTotalOk
SetK8sClusterLimitTotal
GetK8sClustersProvisioned
GetK8sClustersProvisionedOk
SetK8sClustersProvisioned
GetNlbLimitTotal
GetNlbLimitTotalOk
SetNlbLimitTotal
GetNlbProvisioned
GetNlbProvisionedOk
SetNlbProvisioned
GetNatGatewayLimitTotal
GetNatGatewayLimitTotalOk
SetNatGatewayLimitTotal
GetNatGatewayProvisioned
GetNatGatewayProvisionedOk
SetNatGatewayProvisioned