github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/CollectionLocation.md (about) 1 # CollectionLocation 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Type** | **string** | | [default to "Point"] 8 **Coordinates** | **[]float32** | | 9 10 ## Methods 11 12 ### NewCollectionLocation 13 14 `func NewCollectionLocation(type_ string, coordinates []float32, ) *CollectionLocation` 15 16 NewCollectionLocation instantiates a new CollectionLocation object 17 This constructor will assign default values to properties that have it defined, 18 and makes sure properties required by API are set, but the set of arguments 19 will change when the set of required properties is changed 20 21 ### NewCollectionLocationWithDefaults 22 23 `func NewCollectionLocationWithDefaults() *CollectionLocation` 24 25 NewCollectionLocationWithDefaults instantiates a new CollectionLocation object 26 This constructor will only assign default values to properties that have it defined, 27 but it doesn't guarantee that properties required by API are set 28 29 ### GetType 30 31 `func (o *CollectionLocation) GetType() string` 32 33 GetType returns the Type field if non-nil, zero value otherwise. 34 35 ### GetTypeOk 36 37 `func (o *CollectionLocation) GetTypeOk() (*string, bool)` 38 39 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 40 and a boolean to check if the value has been set. 41 42 ### SetType 43 44 `func (o *CollectionLocation) SetType(v string)` 45 46 SetType sets Type field to given value. 47 48 49 ### GetCoordinates 50 51 `func (o *CollectionLocation) GetCoordinates() []float32` 52 53 GetCoordinates returns the Coordinates field if non-nil, zero value otherwise. 54 55 ### GetCoordinatesOk 56 57 `func (o *CollectionLocation) GetCoordinatesOk() (*[]float32, bool)` 58 59 GetCoordinatesOk returns a tuple with the Coordinates field if it's non-nil, zero value otherwise 60 and a boolean to check if the value has been set. 61 62 ### SetCoordinates 63 64 `func (o *CollectionLocation) SetCoordinates(v []float32)` 65 66 SetCoordinates sets Coordinates field to given value. 67 68 69 70 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 72