bunnyshell.com/sdk@v0.16.0/docs/EnvironmentKubeConfigKubeConfigRead.md (about) 1 # EnvironmentKubeConfigKubeConfigRead 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **ApiVersion** | Pointer to **string** | | [optional] [default to "v1"] 8 **Kind** | Pointer to **string** | | [optional] [default to "Config"] 9 **Preferences** | Pointer to **map[string]interface{}** | | [optional] 10 **Clusters** | [**[]ClusterWrapperKubeConfigRead**](ClusterWrapperKubeConfigRead.md) | | 11 **Users** | [**[]UserWrapperKubeConfigRead**](UserWrapperKubeConfigRead.md) | | 12 **Contexts** | Pointer to [**[]ContextWrapperKubeConfigRead**](ContextWrapperKubeConfigRead.md) | | [optional] 13 **CurrentContext** | Pointer to **string** | | [optional] 14 15 ## Methods 16 17 ### NewEnvironmentKubeConfigKubeConfigRead 18 19 `func NewEnvironmentKubeConfigKubeConfigRead(clusters []ClusterWrapperKubeConfigRead, users []UserWrapperKubeConfigRead, ) *EnvironmentKubeConfigKubeConfigRead` 20 21 NewEnvironmentKubeConfigKubeConfigRead instantiates a new EnvironmentKubeConfigKubeConfigRead object 22 This constructor will assign default values to properties that have it defined, 23 and makes sure properties required by API are set, but the set of arguments 24 will change when the set of required properties is changed 25 26 ### NewEnvironmentKubeConfigKubeConfigReadWithDefaults 27 28 `func NewEnvironmentKubeConfigKubeConfigReadWithDefaults() *EnvironmentKubeConfigKubeConfigRead` 29 30 NewEnvironmentKubeConfigKubeConfigReadWithDefaults instantiates a new EnvironmentKubeConfigKubeConfigRead object 31 This constructor will only assign default values to properties that have it defined, 32 but it doesn't guarantee that properties required by API are set 33 34 ### GetApiVersion 35 36 `func (o *EnvironmentKubeConfigKubeConfigRead) GetApiVersion() string` 37 38 GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. 39 40 ### GetApiVersionOk 41 42 `func (o *EnvironmentKubeConfigKubeConfigRead) GetApiVersionOk() (*string, bool)` 43 44 GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise 45 and a boolean to check if the value has been set. 46 47 ### SetApiVersion 48 49 `func (o *EnvironmentKubeConfigKubeConfigRead) SetApiVersion(v string)` 50 51 SetApiVersion sets ApiVersion field to given value. 52 53 ### HasApiVersion 54 55 `func (o *EnvironmentKubeConfigKubeConfigRead) HasApiVersion() bool` 56 57 HasApiVersion returns a boolean if a field has been set. 58 59 ### GetKind 60 61 `func (o *EnvironmentKubeConfigKubeConfigRead) GetKind() string` 62 63 GetKind returns the Kind field if non-nil, zero value otherwise. 64 65 ### GetKindOk 66 67 `func (o *EnvironmentKubeConfigKubeConfigRead) GetKindOk() (*string, bool)` 68 69 GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise 70 and a boolean to check if the value has been set. 71 72 ### SetKind 73 74 `func (o *EnvironmentKubeConfigKubeConfigRead) SetKind(v string)` 75 76 SetKind sets Kind field to given value. 77 78 ### HasKind 79 80 `func (o *EnvironmentKubeConfigKubeConfigRead) HasKind() bool` 81 82 HasKind returns a boolean if a field has been set. 83 84 ### GetPreferences 85 86 `func (o *EnvironmentKubeConfigKubeConfigRead) GetPreferences() map[string]interface{}` 87 88 GetPreferences returns the Preferences field if non-nil, zero value otherwise. 89 90 ### GetPreferencesOk 91 92 `func (o *EnvironmentKubeConfigKubeConfigRead) GetPreferencesOk() (*map[string]interface{}, bool)` 93 94 GetPreferencesOk returns a tuple with the Preferences field if it's non-nil, zero value otherwise 95 and a boolean to check if the value has been set. 96 97 ### SetPreferences 98 99 `func (o *EnvironmentKubeConfigKubeConfigRead) SetPreferences(v map[string]interface{})` 100 101 SetPreferences sets Preferences field to given value. 102 103 ### HasPreferences 104 105 `func (o *EnvironmentKubeConfigKubeConfigRead) HasPreferences() bool` 106 107 HasPreferences returns a boolean if a field has been set. 108 109 ### GetClusters 110 111 `func (o *EnvironmentKubeConfigKubeConfigRead) GetClusters() []ClusterWrapperKubeConfigRead` 112 113 GetClusters returns the Clusters field if non-nil, zero value otherwise. 114 115 ### GetClustersOk 116 117 `func (o *EnvironmentKubeConfigKubeConfigRead) GetClustersOk() (*[]ClusterWrapperKubeConfigRead, bool)` 118 119 GetClustersOk returns a tuple with the Clusters field if it's non-nil, zero value otherwise 120 and a boolean to check if the value has been set. 121 122 ### SetClusters 123 124 `func (o *EnvironmentKubeConfigKubeConfigRead) SetClusters(v []ClusterWrapperKubeConfigRead)` 125 126 SetClusters sets Clusters field to given value. 127 128 129 ### GetUsers 130 131 `func (o *EnvironmentKubeConfigKubeConfigRead) GetUsers() []UserWrapperKubeConfigRead` 132 133 GetUsers returns the Users field if non-nil, zero value otherwise. 134 135 ### GetUsersOk 136 137 `func (o *EnvironmentKubeConfigKubeConfigRead) GetUsersOk() (*[]UserWrapperKubeConfigRead, bool)` 138 139 GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise 140 and a boolean to check if the value has been set. 141 142 ### SetUsers 143 144 `func (o *EnvironmentKubeConfigKubeConfigRead) SetUsers(v []UserWrapperKubeConfigRead)` 145 146 SetUsers sets Users field to given value. 147 148 149 ### GetContexts 150 151 `func (o *EnvironmentKubeConfigKubeConfigRead) GetContexts() []ContextWrapperKubeConfigRead` 152 153 GetContexts returns the Contexts field if non-nil, zero value otherwise. 154 155 ### GetContextsOk 156 157 `func (o *EnvironmentKubeConfigKubeConfigRead) GetContextsOk() (*[]ContextWrapperKubeConfigRead, bool)` 158 159 GetContextsOk returns a tuple with the Contexts field if it's non-nil, zero value otherwise 160 and a boolean to check if the value has been set. 161 162 ### SetContexts 163 164 `func (o *EnvironmentKubeConfigKubeConfigRead) SetContexts(v []ContextWrapperKubeConfigRead)` 165 166 SetContexts sets Contexts field to given value. 167 168 ### HasContexts 169 170 `func (o *EnvironmentKubeConfigKubeConfigRead) HasContexts() bool` 171 172 HasContexts returns a boolean if a field has been set. 173 174 ### GetCurrentContext 175 176 `func (o *EnvironmentKubeConfigKubeConfigRead) GetCurrentContext() string` 177 178 GetCurrentContext returns the CurrentContext field if non-nil, zero value otherwise. 179 180 ### GetCurrentContextOk 181 182 `func (o *EnvironmentKubeConfigKubeConfigRead) GetCurrentContextOk() (*string, bool)` 183 184 GetCurrentContextOk returns a tuple with the CurrentContext field if it's non-nil, zero value otherwise 185 and a boolean to check if the value has been set. 186 187 ### SetCurrentContext 188 189 `func (o *EnvironmentKubeConfigKubeConfigRead) SetCurrentContext(v string)` 190 191 SetCurrentContext sets CurrentContext field to given value. 192 193 ### HasCurrentContext 194 195 `func (o *EnvironmentKubeConfigKubeConfigRead) HasCurrentContext() bool` 196 197 HasCurrentContext returns a boolean if a field has been set. 198 199 200 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 201 202