#
# Copyright 2021 DataRobot, Inc. and its affiliates.
#
# All rights reserved.
#
# DataRobot, Inc.
#
# This is proprietary source code of DataRobot, Inc. and its
# affiliates.
#
# Released under the terms of DataRobot Tool and Utility Agreement.
"""
Autogenerated DataRobot python client file.  Please don't modify.
"""

import trafaret as t
from datarobot.models.api_object import APIObject
from datarobot.models.full_api.generated.model.geo_feature_plot_feature_properties import GeoFeaturePlotFeatureProperties
from datarobot.models.full_api.generated.model.geo_json import GeoJSON

class GeoFeaturePlotFeature(APIObject):
    """
    Attributes
    ----------
    geometry:GeoJSON
        
    properties:GeoFeaturePlotFeatureProperties
        
    type:str
         With a fixed value of 'Feature'.
    """
    _converter = t.Dict(
        {
            t.Key("geometry"):  t.Any(),
            t.Key("properties"):  t.Any(),
            t.Key("type"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        geometry,
        properties,
        type,
    ):
        self.geometry = geometry
        self.properties = properties
        self.type = type

    def __repr__(self):
        return (
            "GeoFeaturePlotFeature("
            "geometry={0.geometry}, "
            "properties={0.properties}, "
            "type={0.type}, "
        ).format(self)
