models.map_reduce_info_required_property module

class models.map_reduce_info_required_property.MapReduceInfo_RequiredProperty(default_value=None, description=None, is_required=None, name=None)[source]

Bases: object

Implementation of the ‘MapReduceInfo_RequiredProperty’ model.

A required property represents a property that user must set before invoking a mapreduction instance. e.g., SimpleGrepMapper will require a property named searchPattern to be set.

Attributes:

default_value (string): Default Value of the property. description (string): Description of this property is_required (bool): Whether the property is required or optional. name (string): Name of the property.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.