bunnyshell.com/sdk@v0.16.0/docs/ProjectItem.md (about) 1 # ProjectItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Project identifier. | [optional] [readonly] 8 **Labels** | Pointer to **map[string]string** | Environment labels. | [optional] [readonly] 9 **Name** | Pointer to **string** | Project name. | [optional] [readonly] 10 **TotalEnvironments** | Pointer to **int32** | Environment identifier. | [optional] [readonly] 11 **BuildSettings** | Pointer to [**NullableBuildSettingsItem**](BuildSettingsItem.md) | | [optional] 12 **Organization** | Pointer to **string** | Organization identifier. | [optional] [readonly] 13 14 ## Methods 15 16 ### NewProjectItem 17 18 `func NewProjectItem() *ProjectItem` 19 20 NewProjectItem instantiates a new ProjectItem object 21 This constructor will assign default values to properties that have it defined, 22 and makes sure properties required by API are set, but the set of arguments 23 will change when the set of required properties is changed 24 25 ### NewProjectItemWithDefaults 26 27 `func NewProjectItemWithDefaults() *ProjectItem` 28 29 NewProjectItemWithDefaults instantiates a new ProjectItem object 30 This constructor will only assign default values to properties that have it defined, 31 but it doesn't guarantee that properties required by API are set 32 33 ### GetId 34 35 `func (o *ProjectItem) GetId() string` 36 37 GetId returns the Id field if non-nil, zero value otherwise. 38 39 ### GetIdOk 40 41 `func (o *ProjectItem) GetIdOk() (*string, bool)` 42 43 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetId 47 48 `func (o *ProjectItem) SetId(v string)` 49 50 SetId sets Id field to given value. 51 52 ### HasId 53 54 `func (o *ProjectItem) HasId() bool` 55 56 HasId returns a boolean if a field has been set. 57 58 ### GetLabels 59 60 `func (o *ProjectItem) GetLabels() map[string]string` 61 62 GetLabels returns the Labels field if non-nil, zero value otherwise. 63 64 ### GetLabelsOk 65 66 `func (o *ProjectItem) GetLabelsOk() (*map[string]string, bool)` 67 68 GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise 69 and a boolean to check if the value has been set. 70 71 ### SetLabels 72 73 `func (o *ProjectItem) SetLabels(v map[string]string)` 74 75 SetLabels sets Labels field to given value. 76 77 ### HasLabels 78 79 `func (o *ProjectItem) HasLabels() bool` 80 81 HasLabels returns a boolean if a field has been set. 82 83 ### GetName 84 85 `func (o *ProjectItem) GetName() string` 86 87 GetName returns the Name field if non-nil, zero value otherwise. 88 89 ### GetNameOk 90 91 `func (o *ProjectItem) GetNameOk() (*string, bool)` 92 93 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 94 and a boolean to check if the value has been set. 95 96 ### SetName 97 98 `func (o *ProjectItem) SetName(v string)` 99 100 SetName sets Name field to given value. 101 102 ### HasName 103 104 `func (o *ProjectItem) HasName() bool` 105 106 HasName returns a boolean if a field has been set. 107 108 ### GetTotalEnvironments 109 110 `func (o *ProjectItem) GetTotalEnvironments() int32` 111 112 GetTotalEnvironments returns the TotalEnvironments field if non-nil, zero value otherwise. 113 114 ### GetTotalEnvironmentsOk 115 116 `func (o *ProjectItem) GetTotalEnvironmentsOk() (*int32, bool)` 117 118 GetTotalEnvironmentsOk returns a tuple with the TotalEnvironments field if it's non-nil, zero value otherwise 119 and a boolean to check if the value has been set. 120 121 ### SetTotalEnvironments 122 123 `func (o *ProjectItem) SetTotalEnvironments(v int32)` 124 125 SetTotalEnvironments sets TotalEnvironments field to given value. 126 127 ### HasTotalEnvironments 128 129 `func (o *ProjectItem) HasTotalEnvironments() bool` 130 131 HasTotalEnvironments returns a boolean if a field has been set. 132 133 ### GetBuildSettings 134 135 `func (o *ProjectItem) GetBuildSettings() BuildSettingsItem` 136 137 GetBuildSettings returns the BuildSettings field if non-nil, zero value otherwise. 138 139 ### GetBuildSettingsOk 140 141 `func (o *ProjectItem) GetBuildSettingsOk() (*BuildSettingsItem, bool)` 142 143 GetBuildSettingsOk returns a tuple with the BuildSettings field if it's non-nil, zero value otherwise 144 and a boolean to check if the value has been set. 145 146 ### SetBuildSettings 147 148 `func (o *ProjectItem) SetBuildSettings(v BuildSettingsItem)` 149 150 SetBuildSettings sets BuildSettings field to given value. 151 152 ### HasBuildSettings 153 154 `func (o *ProjectItem) HasBuildSettings() bool` 155 156 HasBuildSettings returns a boolean if a field has been set. 157 158 ### SetBuildSettingsNil 159 160 `func (o *ProjectItem) SetBuildSettingsNil(b bool)` 161 162 SetBuildSettingsNil sets the value for BuildSettings to be an explicit nil 163 164 ### UnsetBuildSettings 165 `func (o *ProjectItem) UnsetBuildSettings()` 166 167 UnsetBuildSettings ensures that no value is present for BuildSettings, not even an explicit nil 168 ### GetOrganization 169 170 `func (o *ProjectItem) GetOrganization() string` 171 172 GetOrganization returns the Organization field if non-nil, zero value otherwise. 173 174 ### GetOrganizationOk 175 176 `func (o *ProjectItem) GetOrganizationOk() (*string, bool)` 177 178 GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise 179 and a boolean to check if the value has been set. 180 181 ### SetOrganization 182 183 `func (o *ProjectItem) SetOrganization(v string)` 184 185 SetOrganization sets Organization field to given value. 186 187 ### HasOrganization 188 189 `func (o *ProjectItem) HasOrganization() bool` 190 191 HasOrganization returns a boolean if a field has been set. 192 193 194 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 195 196