bunnyshell.com/sdk@v0.16.0/docs/ResourceListItem.md (about) 1 # ResourceListItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Cpu** | Pointer to **NullableString** | The CPU resources for the container. | [optional] [readonly] 8 **Memory** | Pointer to **NullableString** | The Memory resources for the container. | [optional] [readonly] 9 10 ## Methods 11 12 ### NewResourceListItem 13 14 `func NewResourceListItem() *ResourceListItem` 15 16 NewResourceListItem instantiates a new ResourceListItem object 17 This constructor will assign default values to properties that have it defined, 18 and makes sure properties required by API are set, but the set of arguments 19 will change when the set of required properties is changed 20 21 ### NewResourceListItemWithDefaults 22 23 `func NewResourceListItemWithDefaults() *ResourceListItem` 24 25 NewResourceListItemWithDefaults instantiates a new ResourceListItem object 26 This constructor will only assign default values to properties that have it defined, 27 but it doesn't guarantee that properties required by API are set 28 29 ### GetCpu 30 31 `func (o *ResourceListItem) GetCpu() string` 32 33 GetCpu returns the Cpu field if non-nil, zero value otherwise. 34 35 ### GetCpuOk 36 37 `func (o *ResourceListItem) GetCpuOk() (*string, bool)` 38 39 GetCpuOk returns a tuple with the Cpu field if it's non-nil, zero value otherwise 40 and a boolean to check if the value has been set. 41 42 ### SetCpu 43 44 `func (o *ResourceListItem) SetCpu(v string)` 45 46 SetCpu sets Cpu field to given value. 47 48 ### HasCpu 49 50 `func (o *ResourceListItem) HasCpu() bool` 51 52 HasCpu returns a boolean if a field has been set. 53 54 ### SetCpuNil 55 56 `func (o *ResourceListItem) SetCpuNil(b bool)` 57 58 SetCpuNil sets the value for Cpu to be an explicit nil 59 60 ### UnsetCpu 61 `func (o *ResourceListItem) UnsetCpu()` 62 63 UnsetCpu ensures that no value is present for Cpu, not even an explicit nil 64 ### GetMemory 65 66 `func (o *ResourceListItem) GetMemory() string` 67 68 GetMemory returns the Memory field if non-nil, zero value otherwise. 69 70 ### GetMemoryOk 71 72 `func (o *ResourceListItem) GetMemoryOk() (*string, bool)` 73 74 GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise 75 and a boolean to check if the value has been set. 76 77 ### SetMemory 78 79 `func (o *ResourceListItem) SetMemory(v string)` 80 81 SetMemory sets Memory field to given value. 82 83 ### HasMemory 84 85 `func (o *ResourceListItem) HasMemory() bool` 86 87 HasMemory returns a boolean if a field has been set. 88 89 ### SetMemoryNil 90 91 `func (o *ResourceListItem) SetMemoryNil(b bool)` 92 93 SetMemoryNil sets the value for Memory to be an explicit nil 94 95 ### UnsetMemory 96 `func (o *ResourceListItem) UnsetMemory()` 97 98 UnsetMemory ensures that no value is present for Memory, not even an explicit nil 99 100 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 101 102