bunnyshell.com/sdk@v0.16.0/docs/ValidateSourceGit.md (about) 1 # ValidateSourceGit 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Type** | Pointer to **string** | | [optional] [default to "git"] 8 **Url** | **string** | | 9 **Ref** | **string** | | 10 **DirPath** | **string** | | 11 **OrganizationId** | **string** | | 12 **ValidateComponents** | Pointer to **bool** | | [optional] 13 14 ## Methods 15 16 ### NewValidateSourceGit 17 18 `func NewValidateSourceGit(url string, ref string, dirPath string, organizationId string, ) *ValidateSourceGit` 19 20 NewValidateSourceGit instantiates a new ValidateSourceGit 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 ### NewValidateSourceGitWithDefaults 26 27 `func NewValidateSourceGitWithDefaults() *ValidateSourceGit` 28 29 NewValidateSourceGitWithDefaults instantiates a new ValidateSourceGit 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 ### GetType 34 35 `func (o *ValidateSourceGit) GetType() string` 36 37 GetType returns the Type field if non-nil, zero value otherwise. 38 39 ### GetTypeOk 40 41 `func (o *ValidateSourceGit) GetTypeOk() (*string, bool)` 42 43 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetType 47 48 `func (o *ValidateSourceGit) SetType(v string)` 49 50 SetType sets Type field to given value. 51 52 ### HasType 53 54 `func (o *ValidateSourceGit) HasType() bool` 55 56 HasType returns a boolean if a field has been set. 57 58 ### GetUrl 59 60 `func (o *ValidateSourceGit) GetUrl() string` 61 62 GetUrl returns the Url field if non-nil, zero value otherwise. 63 64 ### GetUrlOk 65 66 `func (o *ValidateSourceGit) GetUrlOk() (*string, bool)` 67 68 GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise 69 and a boolean to check if the value has been set. 70 71 ### SetUrl 72 73 `func (o *ValidateSourceGit) SetUrl(v string)` 74 75 SetUrl sets Url field to given value. 76 77 78 ### GetRef 79 80 `func (o *ValidateSourceGit) GetRef() string` 81 82 GetRef returns the Ref field if non-nil, zero value otherwise. 83 84 ### GetRefOk 85 86 `func (o *ValidateSourceGit) GetRefOk() (*string, bool)` 87 88 GetRefOk returns a tuple with the Ref field if it's non-nil, zero value otherwise 89 and a boolean to check if the value has been set. 90 91 ### SetRef 92 93 `func (o *ValidateSourceGit) SetRef(v string)` 94 95 SetRef sets Ref field to given value. 96 97 98 ### GetDirPath 99 100 `func (o *ValidateSourceGit) GetDirPath() string` 101 102 GetDirPath returns the DirPath field if non-nil, zero value otherwise. 103 104 ### GetDirPathOk 105 106 `func (o *ValidateSourceGit) GetDirPathOk() (*string, bool)` 107 108 GetDirPathOk returns a tuple with the DirPath field if it's non-nil, zero value otherwise 109 and a boolean to check if the value has been set. 110 111 ### SetDirPath 112 113 `func (o *ValidateSourceGit) SetDirPath(v string)` 114 115 SetDirPath sets DirPath field to given value. 116 117 118 ### GetOrganizationId 119 120 `func (o *ValidateSourceGit) GetOrganizationId() string` 121 122 GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise. 123 124 ### GetOrganizationIdOk 125 126 `func (o *ValidateSourceGit) GetOrganizationIdOk() (*string, bool)` 127 128 GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise 129 and a boolean to check if the value has been set. 130 131 ### SetOrganizationId 132 133 `func (o *ValidateSourceGit) SetOrganizationId(v string)` 134 135 SetOrganizationId sets OrganizationId field to given value. 136 137 138 ### GetValidateComponents 139 140 `func (o *ValidateSourceGit) GetValidateComponents() bool` 141 142 GetValidateComponents returns the ValidateComponents field if non-nil, zero value otherwise. 143 144 ### GetValidateComponentsOk 145 146 `func (o *ValidateSourceGit) GetValidateComponentsOk() (*bool, bool)` 147 148 GetValidateComponentsOk returns a tuple with the ValidateComponents field if it's non-nil, zero value otherwise 149 and a boolean to check if the value has been set. 150 151 ### SetValidateComponents 152 153 `func (o *ValidateSourceGit) SetValidateComponents(v bool)` 154 155 SetValidateComponents sets ValidateComponents field to given value. 156 157 ### HasValidateComponents 158 159 `func (o *ValidateSourceGit) HasValidateComponents() bool` 160 161 HasValidateComponents returns a boolean if a field has been set. 162 163 164 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 165 166