bunnyshell.com/sdk@v0.16.0/docs/ResourceRequirementItem.md (about)

     1  # ResourceRequirementItem
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **Requests** | Pointer to [**NullableResourceListItem**](ResourceListItem.md) |  | [optional] 
     8  **Limits** | Pointer to [**NullableResourceListItem**](ResourceListItem.md) |  | [optional] 
     9  
    10  ## Methods
    11  
    12  ### NewResourceRequirementItem
    13  
    14  `func NewResourceRequirementItem() *ResourceRequirementItem`
    15  
    16  NewResourceRequirementItem instantiates a new ResourceRequirementItem 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  ### NewResourceRequirementItemWithDefaults
    22  
    23  `func NewResourceRequirementItemWithDefaults() *ResourceRequirementItem`
    24  
    25  NewResourceRequirementItemWithDefaults instantiates a new ResourceRequirementItem 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  ### GetRequests
    30  
    31  `func (o *ResourceRequirementItem) GetRequests() ResourceListItem`
    32  
    33  GetRequests returns the Requests field if non-nil, zero value otherwise.
    34  
    35  ### GetRequestsOk
    36  
    37  `func (o *ResourceRequirementItem) GetRequestsOk() (*ResourceListItem, bool)`
    38  
    39  GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise
    40  and a boolean to check if the value has been set.
    41  
    42  ### SetRequests
    43  
    44  `func (o *ResourceRequirementItem) SetRequests(v ResourceListItem)`
    45  
    46  SetRequests sets Requests field to given value.
    47  
    48  ### HasRequests
    49  
    50  `func (o *ResourceRequirementItem) HasRequests() bool`
    51  
    52  HasRequests returns a boolean if a field has been set.
    53  
    54  ### SetRequestsNil
    55  
    56  `func (o *ResourceRequirementItem) SetRequestsNil(b bool)`
    57  
    58   SetRequestsNil sets the value for Requests to be an explicit nil
    59  
    60  ### UnsetRequests
    61  `func (o *ResourceRequirementItem) UnsetRequests()`
    62  
    63  UnsetRequests ensures that no value is present for Requests, not even an explicit nil
    64  ### GetLimits
    65  
    66  `func (o *ResourceRequirementItem) GetLimits() ResourceListItem`
    67  
    68  GetLimits returns the Limits field if non-nil, zero value otherwise.
    69  
    70  ### GetLimitsOk
    71  
    72  `func (o *ResourceRequirementItem) GetLimitsOk() (*ResourceListItem, bool)`
    73  
    74  GetLimitsOk returns a tuple with the Limits field if it's non-nil, zero value otherwise
    75  and a boolean to check if the value has been set.
    76  
    77  ### SetLimits
    78  
    79  `func (o *ResourceRequirementItem) SetLimits(v ResourceListItem)`
    80  
    81  SetLimits sets Limits field to given value.
    82  
    83  ### HasLimits
    84  
    85  `func (o *ResourceRequirementItem) HasLimits() bool`
    86  
    87  HasLimits returns a boolean if a field has been set.
    88  
    89  ### SetLimitsNil
    90  
    91  `func (o *ResourceRequirementItem) SetLimitsNil(b bool)`
    92  
    93   SetLimitsNil sets the value for Limits to be an explicit nil
    94  
    95  ### UnsetLimits
    96  `func (o *ResourceRequirementItem) UnsetLimits()`
    97  
    98  UnsetLimits ensures that no value is present for Limits, 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