github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/GroupCreateRequest.md (about) 1 # GroupCreateRequest 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **ParentGroupId** | Pointer to **string** | | [optional] 8 **Name** | **string** | | 9 **PhoneNumber** | Pointer to **string** | | [optional] 10 **PhoneNumber2** | Pointer to **string** | | [optional] 11 **Address** | Pointer to [**GroupAddress**](Group_address.md) | | [optional] 12 **Tags** | Pointer to **[]string** | | [optional] 13 **Type** | **string** | | 14 **CustomFields** | Pointer to **interface{}** | | [optional] 15 16 ## Methods 17 18 ### NewGroupCreateRequest 19 20 `func NewGroupCreateRequest(name string, type_ string, ) *GroupCreateRequest` 21 22 NewGroupCreateRequest instantiates a new GroupCreateRequest object 23 This constructor will assign default values to properties that have it defined, 24 and makes sure properties required by API are set, but the set of arguments 25 will change when the set of required properties is changed 26 27 ### NewGroupCreateRequestWithDefaults 28 29 `func NewGroupCreateRequestWithDefaults() *GroupCreateRequest` 30 31 NewGroupCreateRequestWithDefaults instantiates a new GroupCreateRequest object 32 This constructor will only assign default values to properties that have it defined, 33 but it doesn't guarantee that properties required by API are set 34 35 ### GetParentGroupId 36 37 `func (o *GroupCreateRequest) GetParentGroupId() string` 38 39 GetParentGroupId returns the ParentGroupId field if non-nil, zero value otherwise. 40 41 ### GetParentGroupIdOk 42 43 `func (o *GroupCreateRequest) GetParentGroupIdOk() (*string, bool)` 44 45 GetParentGroupIdOk returns a tuple with the ParentGroupId field if it's non-nil, zero value otherwise 46 and a boolean to check if the value has been set. 47 48 ### SetParentGroupId 49 50 `func (o *GroupCreateRequest) SetParentGroupId(v string)` 51 52 SetParentGroupId sets ParentGroupId field to given value. 53 54 ### HasParentGroupId 55 56 `func (o *GroupCreateRequest) HasParentGroupId() bool` 57 58 HasParentGroupId returns a boolean if a field has been set. 59 60 ### GetName 61 62 `func (o *GroupCreateRequest) GetName() string` 63 64 GetName returns the Name field if non-nil, zero value otherwise. 65 66 ### GetNameOk 67 68 `func (o *GroupCreateRequest) GetNameOk() (*string, bool)` 69 70 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 71 and a boolean to check if the value has been set. 72 73 ### SetName 74 75 `func (o *GroupCreateRequest) SetName(v string)` 76 77 SetName sets Name field to given value. 78 79 80 ### GetPhoneNumber 81 82 `func (o *GroupCreateRequest) GetPhoneNumber() string` 83 84 GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. 85 86 ### GetPhoneNumberOk 87 88 `func (o *GroupCreateRequest) GetPhoneNumberOk() (*string, bool)` 89 90 GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise 91 and a boolean to check if the value has been set. 92 93 ### SetPhoneNumber 94 95 `func (o *GroupCreateRequest) SetPhoneNumber(v string)` 96 97 SetPhoneNumber sets PhoneNumber field to given value. 98 99 ### HasPhoneNumber 100 101 `func (o *GroupCreateRequest) HasPhoneNumber() bool` 102 103 HasPhoneNumber returns a boolean if a field has been set. 104 105 ### GetPhoneNumber2 106 107 `func (o *GroupCreateRequest) GetPhoneNumber2() string` 108 109 GetPhoneNumber2 returns the PhoneNumber2 field if non-nil, zero value otherwise. 110 111 ### GetPhoneNumber2Ok 112 113 `func (o *GroupCreateRequest) GetPhoneNumber2Ok() (*string, bool)` 114 115 GetPhoneNumber2Ok returns a tuple with the PhoneNumber2 field if it's non-nil, zero value otherwise 116 and a boolean to check if the value has been set. 117 118 ### SetPhoneNumber2 119 120 `func (o *GroupCreateRequest) SetPhoneNumber2(v string)` 121 122 SetPhoneNumber2 sets PhoneNumber2 field to given value. 123 124 ### HasPhoneNumber2 125 126 `func (o *GroupCreateRequest) HasPhoneNumber2() bool` 127 128 HasPhoneNumber2 returns a boolean if a field has been set. 129 130 ### GetAddress 131 132 `func (o *GroupCreateRequest) GetAddress() GroupAddress` 133 134 GetAddress returns the Address field if non-nil, zero value otherwise. 135 136 ### GetAddressOk 137 138 `func (o *GroupCreateRequest) GetAddressOk() (*GroupAddress, bool)` 139 140 GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise 141 and a boolean to check if the value has been set. 142 143 ### SetAddress 144 145 `func (o *GroupCreateRequest) SetAddress(v GroupAddress)` 146 147 SetAddress sets Address field to given value. 148 149 ### HasAddress 150 151 `func (o *GroupCreateRequest) HasAddress() bool` 152 153 HasAddress returns a boolean if a field has been set. 154 155 ### GetTags 156 157 `func (o *GroupCreateRequest) GetTags() []string` 158 159 GetTags returns the Tags field if non-nil, zero value otherwise. 160 161 ### GetTagsOk 162 163 `func (o *GroupCreateRequest) GetTagsOk() (*[]string, bool)` 164 165 GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise 166 and a boolean to check if the value has been set. 167 168 ### SetTags 169 170 `func (o *GroupCreateRequest) SetTags(v []string)` 171 172 SetTags sets Tags field to given value. 173 174 ### HasTags 175 176 `func (o *GroupCreateRequest) HasTags() bool` 177 178 HasTags returns a boolean if a field has been set. 179 180 ### GetType 181 182 `func (o *GroupCreateRequest) GetType() string` 183 184 GetType returns the Type field if non-nil, zero value otherwise. 185 186 ### GetTypeOk 187 188 `func (o *GroupCreateRequest) GetTypeOk() (*string, bool)` 189 190 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 191 and a boolean to check if the value has been set. 192 193 ### SetType 194 195 `func (o *GroupCreateRequest) SetType(v string)` 196 197 SetType sets Type field to given value. 198 199 200 ### GetCustomFields 201 202 `func (o *GroupCreateRequest) GetCustomFields() interface{}` 203 204 GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. 205 206 ### GetCustomFieldsOk 207 208 `func (o *GroupCreateRequest) GetCustomFieldsOk() (*interface{}, bool)` 209 210 GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise 211 and a boolean to check if the value has been set. 212 213 ### SetCustomFields 214 215 `func (o *GroupCreateRequest) SetCustomFields(v interface{})` 216 217 SetCustomFields sets CustomFields field to given value. 218 219 ### HasCustomFields 220 221 `func (o *GroupCreateRequest) HasCustomFields() bool` 222 223 HasCustomFields returns a boolean if a field has been set. 224 225 ### SetCustomFieldsNil 226 227 `func (o *GroupCreateRequest) SetCustomFieldsNil(b bool)` 228 229 SetCustomFieldsNil sets the value for CustomFields to be an explicit nil 230 231 ### UnsetCustomFields 232 `func (o *GroupCreateRequest) UnsetCustomFields()` 233 234 UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil 235 236 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 237 238