bunnyshell.com/sdk@v0.16.0/docs/ComponentResourceItem.md (about) 1 # ComponentResourceItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Kind** | Pointer to **string** | Kubernetes resource kind. | [optional] 8 **Name** | Pointer to **string** | Kubernetes resource name. | [optional] 9 **Namespace** | Pointer to **NullableString** | Kubernetes resource namespace. | [optional] 10 11 ## Methods 12 13 ### NewComponentResourceItem 14 15 `func NewComponentResourceItem() *ComponentResourceItem` 16 17 NewComponentResourceItem instantiates a new ComponentResourceItem object 18 This constructor will assign default values to properties that have it defined, 19 and makes sure properties required by API are set, but the set of arguments 20 will change when the set of required properties is changed 21 22 ### NewComponentResourceItemWithDefaults 23 24 `func NewComponentResourceItemWithDefaults() *ComponentResourceItem` 25 26 NewComponentResourceItemWithDefaults instantiates a new ComponentResourceItem object 27 This constructor will only assign default values to properties that have it defined, 28 but it doesn't guarantee that properties required by API are set 29 30 ### GetKind 31 32 `func (o *ComponentResourceItem) GetKind() string` 33 34 GetKind returns the Kind field if non-nil, zero value otherwise. 35 36 ### GetKindOk 37 38 `func (o *ComponentResourceItem) GetKindOk() (*string, bool)` 39 40 GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise 41 and a boolean to check if the value has been set. 42 43 ### SetKind 44 45 `func (o *ComponentResourceItem) SetKind(v string)` 46 47 SetKind sets Kind field to given value. 48 49 ### HasKind 50 51 `func (o *ComponentResourceItem) HasKind() bool` 52 53 HasKind returns a boolean if a field has been set. 54 55 ### GetName 56 57 `func (o *ComponentResourceItem) GetName() string` 58 59 GetName returns the Name field if non-nil, zero value otherwise. 60 61 ### GetNameOk 62 63 `func (o *ComponentResourceItem) GetNameOk() (*string, bool)` 64 65 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 66 and a boolean to check if the value has been set. 67 68 ### SetName 69 70 `func (o *ComponentResourceItem) SetName(v string)` 71 72 SetName sets Name field to given value. 73 74 ### HasName 75 76 `func (o *ComponentResourceItem) HasName() bool` 77 78 HasName returns a boolean if a field has been set. 79 80 ### GetNamespace 81 82 `func (o *ComponentResourceItem) GetNamespace() string` 83 84 GetNamespace returns the Namespace field if non-nil, zero value otherwise. 85 86 ### GetNamespaceOk 87 88 `func (o *ComponentResourceItem) GetNamespaceOk() (*string, bool)` 89 90 GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise 91 and a boolean to check if the value has been set. 92 93 ### SetNamespace 94 95 `func (o *ComponentResourceItem) SetNamespace(v string)` 96 97 SetNamespace sets Namespace field to given value. 98 99 ### HasNamespace 100 101 `func (o *ComponentResourceItem) HasNamespace() bool` 102 103 HasNamespace returns a boolean if a field has been set. 104 105 ### SetNamespaceNil 106 107 `func (o *ComponentResourceItem) SetNamespaceNil(b bool)` 108 109 SetNamespaceNil sets the value for Namespace to be an explicit nil 110 111 ### UnsetNamespace 112 `func (o *ComponentResourceItem) UnsetNamespace()` 113 114 UnsetNamespace ensures that no value is present for Namespace, not even an explicit nil 115 116 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 117 118