// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.maps.weather.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The GeoJsonGeometryCollectionData model. */
@Fluent
public class GeoJsonGeometryCollectionData {
    /*
     * Contains a list of valid `GeoJSON` geometry objects. **Note** that coordinates in GeoJSON are in x, y order
     * (longitude, latitude).
     */
    @JsonProperty(value = "geometries", required = true)
    private List<GeoJsonGeometry> geometries;

    /** Creates an instance of GeoJsonGeometryCollectionData class. */
    public GeoJsonGeometryCollectionData() {}

    /**
     * Get the geometries property: Contains a list of valid `GeoJSON` geometry objects. **Note** that coordinates in
     * GeoJSON are in x, y order (longitude, latitude).
     *
     * @return the geometries value.
     */
    public List<GeoJsonGeometry> getGeometries() {
        return this.geometries;
    }

    /**
     * Set the geometries property: Contains a list of valid `GeoJSON` geometry objects. **Note** that coordinates in
     * GeoJSON are in x, y order (longitude, latitude).
     *
     * @param geometries the geometries value to set.
     * @return the GeoJsonGeometryCollectionData object itself.
     */
    public GeoJsonGeometryCollectionData setGeometries(List<GeoJsonGeometry> geometries) {
        this.geometries = geometries;
        return this;
    }
}
