Ejemplo n.º 1
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btm_sketch151.BTMSketch151 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            entities ([btm_sketch_geom_entity5.BTMSketchGeomEntity5]): [optional]  # noqa: E501
            constraints ([btm_sketch_constraint2.BTMSketchConstraint2]): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            feature_id (str): [optional]  # noqa: E501
            feature_type (str): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            name (str): [optional]  # noqa: E501
            namespace (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            parameters ([btm_parameter1.BTMParameter1]): [optional]  # noqa: E501
            return_after_subfeatures (bool): [optional]  # noqa: E501
            sub_features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            suppressed (bool): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btp_expression_access237.BTPExpressionAccess237 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            accessor (btp_property_accessor23.BTPPropertyAccessor23): [optional]  # noqa: E501
            space_in_accessor (btp_space10.BTPSpace10): [optional]  # noqa: E501
            base (btp_expression9.BTPExpression9): [optional]  # noqa: E501
            atomic (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            documentation_type (str): [optional]  # noqa: E501
            end_source_location (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            short_descriptor (str): [optional]  # noqa: E501
            space_after (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_before (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_default (bool): [optional]  # noqa: E501
            start_source_location (int): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 3
0
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """bt_active_sheet_metal_filter2944.BTActiveSheetMetalFilter2944 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            is_from_active_sheet_metal (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        required_args = {
        }
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if var_name in unused_args and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        not self._additional_properties_model_instances:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Ejemplo n.º 4
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_parameter_spec_material2700.BTParameterSpecMaterial2700 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            additional_localized_strings (int): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            column_name (str): [optional]  # noqa: E501
            default_value (btm_parameter1.BTMParameter1): [optional]  # noqa: E501
            icon_uri (str): [optional]  # noqa: E501
            localizable_name (str): [optional]  # noqa: E501
            localized_name (str): [optional]  # noqa: E501
            parameter_id (str): [optional]  # noqa: E501
            parameter_name (str): [optional]  # noqa: E501
            strings_to_localize ([str]): [optional]  # noqa: E501
            ui_hint (str): [optional]  # noqa: E501
            ui_hints ([str]): [optional]  # noqa: E501
            visibility_condition (bt_parameter_visibility_condition177.BTParameterVisibilityCondition177): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 5
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btm_configuration_parameter_enum105.BTMConfigurationParameterEnum105 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            option_ids ([str]): [optional]  # noqa: E501
            enum_name (str): [optional]  # noqa: E501
            namespace (str): [optional]  # noqa: E501
            options ([btm_enum_option592.BTMEnumOption592]): [optional]  # noqa: E501
            default_value (str): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            generated_parameter_id (bt_tree_node20.BTTreeNode20): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            parameter_id (str): [optional]  # noqa: E501
            parameter_name (str): [optional]  # noqa: E501
            parameter_type (str): [optional]  # noqa: E501
            valid (bool): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_occurrence_filter166.BTOccurrenceFilter166 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            top_level_only (bool): [optional]  # noqa: E501
            exclude_sketch (bool): [optional]  # noqa: E501
            solid_or_composite_body_only (bool): [optional]  # noqa: E501
            exclude_sub_assemblies (bool): [optional]  # noqa: E501
            exclude_suppressed (bool): [optional]  # noqa: E501
            exclude_flattened_parts (bool): [optional]  # noqa: E501
            exclude_pattern_instances (bool): [optional]  # noqa: E501
            include_pattern_occurrence (bool): [optional]  # noqa: E501
            exclude_studio_inserts (bool): [optional]  # noqa: E501
            exclude_standard_content (bool): [optional]  # noqa: E501
            include_assembly_root (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_feature_list_response2457.BTFeatureListResponse2457 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            rollback_index (int): [optional]  # noqa: E501
            features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            is_complete (bool): [optional]  # noqa: E501
            feature_states ({str: (bt_feature_state1688.BTFeatureState1688,)}): [optional]  # noqa: E501
            default_features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            imports ([btm_import136.BTMImport136]): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            library_version (int): [optional]  # noqa: E501
            microversion_skew (bool): [optional]  # noqa: E501
            reject_microversion_skew (bool): [optional]  # noqa: E501
            serialization_version (str): [optional]  # noqa: E501
            source_microversion (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btm_individual_co_edge_query1332.BTMIndividualCoEdgeQuery1332 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            face_query (btm_individual_query138.BTMIndividualQuery138): [optional]  # noqa: E501
            edge_query (btm_individual_query138.BTMIndividualQuery138): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            deterministic_id_list (btm_individual_query_base139.BTMIndividualQueryBase139): [optional]  # noqa: E501
            deterministic_ids ([str]): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            query (btm_individual_query_base139.BTMIndividualQueryBase139): [optional]  # noqa: E501
            query_string (str): [optional]  # noqa: E501
            persistent_query (btp_statement269.BTPStatement269): [optional]  # noqa: E501
            variable_name (btm_individual_query138.BTMIndividualQuery138): [optional]  # noqa: E501
            query_statement (btp_statement269.BTPStatement269): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_curve_geometry_interpolated_spline116.BTCurveGeometryInterpolatedSpline116 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            is_periodic (bool): [optional]  # noqa: E501
            interpolation_points ([float]): [optional]  # noqa: E501
            start_derivative_x (float): [optional]  # noqa: E501
            start_derivative_y (float): [optional]  # noqa: E501
            end_derivative_x (float): [optional]  # noqa: E501
            end_derivative_y (float): [optional]  # noqa: E501
            start_handle_x (float): [optional]  # noqa: E501
            start_handle_y (float): [optional]  # noqa: E501
            end_handle_x (float): [optional]  # noqa: E501
            end_handle_y (float): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """bt_explosion_step_feature3008.BTExplosionStepFeature3008 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            bt_type (str): [optional]  # noqa: E501
            feature_id (str): [optional]  # noqa: E501
            feature_type (str): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            name (str): [optional]  # noqa: E501
            namespace (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            parameters ([btm_parameter1.BTMParameter1]): [optional]  # noqa: E501
            return_after_subfeatures (bool): [optional]  # noqa: E501
            sub_features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            suppressed (bool): [optional]  # noqa: E501
            auxiliary_assembly_feature (bool): [optional]  # noqa: E501
            feature_list_field_index (int): [optional]  # noqa: E501
            occurrence_queries_from_all_configurations ([btm_individual_query_with_occurrence_base904.BTMIndividualQueryWithOccurrenceBase904]): [optional]  # noqa: E501
            version (int): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {
        }
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_external_reference1936.BTExternalReference1936 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            document_version_id (str): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            configured (bool): [optional]  # noqa: E501
            element_id (str): [optional]  # noqa: E501
            external_document_with_version (bt_document_with_version_id.BTDocumentWithVersionId): [optional]  # noqa: E501
            external_document_with_version_and_element_id (bt_document_with_version_and_element_id.BTDocumentWithVersionAndElementId): [optional]  # noqa: E501
            external_reference (bool): [optional]  # noqa: E501
            full_element_id (bt_full_element_id756.BTFullElementId756): [optional]  # noqa: E501
            microversion_id_and_configuration (bt_microversion_id_and_configuration2338.BTMicroversionIdAndConfiguration2338): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_configured_dimension_column_info2168.BTConfiguredDimensionColumnInfo2168 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            parameter_id (str): [optional]  # noqa: E501
            dimension_id (str): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            specification (bt_table_column_spec1967.BTTableColumnSpec1967): [optional]  # noqa: E501
            parent_id (str): [optional]  # noqa: E501
            parent_name (str): [optional]  # noqa: E501
            parent_type (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 13
0
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """bt_bill_of_materials_table_row1425.BTBillOfMaterialsTableRow1425 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            unique_item_id (bt_bill_of_materials_unique_item_id2029.BTBillOfMaterialsUniqueItemId2029): [optional]  # noqa: E501
            indent_level (int): [optional]  # noqa: E501
            expansion_status (str): [optional]  # noqa: E501
            exclusion_status (str): [optional]  # noqa: E501
            exclude_is_editable (bool): [optional]  # noqa: E501
            metadata_update_href (str): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            column_id_to_cell ({str: (bt_table_cell1114.BTTableCell1114,)}): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
            meta_data (bt_tree_node20.BTTreeNode20): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            row_metadata (bt_table_base_row_metadata3181.BTTableBaseRowMetadata3181): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {
        }
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 14
0
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """btfs_table953.BTFSTable953 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            cross_highlight_data (bt_table_base_cross_highlight_data2609.BTTableBaseCrossHighlightData2609): [optional]  # noqa: E501
            all_row_values ([[str]]): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            column_count (int): [optional]  # noqa: E501
            frozen_columns (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            read_only (bool): [optional]  # noqa: E501
            row_count (int): [optional]  # noqa: E501
            table_columns ([bt_table_column_info1222.BTTableColumnInfo1222]): [optional]  # noqa: E501
            table_id (str): [optional]  # noqa: E501
            table_rows ([bt_table_row1054.BTTableRow1054]): [optional]  # noqa: E501
            title (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {
        }
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 15
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_ellipse_description866.BTEllipseDescription866 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            normal (bt_vector3d389.BTVector3d389): [optional]  # noqa: E501
            major_axis (bt_vector3d389.BTVector3d389): [optional]  # noqa: E501
            minor_radius (float): [optional]  # noqa: E501
            major_radius (float): [optional]  # noqa: E501
            origin (bt_vector3d389.BTVector3d389): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            type (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_export_tessellated_faces_body1321.BTExportTessellatedFacesBody1321 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            faces ([bt_export_tessellated_faces_face1192.BTExportTessellatedFacesFace1192]): [optional]  # noqa: E501
            body_type (str): [optional]  # noqa: E501
            appearance (bt_graphics_appearance1152.BTGraphicsAppearance1152): [optional]  # noqa: E501
            facet_points ([bt_vector3d389.BTVector3d389]): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            constituents ([str]): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_table_cell_property_parameter2983.BTTableCellPropertyParameter2983 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            is_unchanged (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            is_ever_visible (bool): [optional]  # noqa: E501
            is_read_only (bool): [optional]  # noqa: E501
            error (str): [optional]  # noqa: E501
            override_spec (bt_parameter_spec6.BTParameterSpec6): [optional]  # noqa: E501
            parameter (btm_parameter1.BTMParameter1): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btfs_value_with_units1817.BTFSValueWithUnits1817 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            value_object (float): [optional]  # noqa: E501
            quantity_type (str): [optional]  # noqa: E501
            unit_to_power ({str: (int,)}): [optional]  # noqa: E501
            value (float): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            configuration_value_string (str): [optional]  # noqa: E501
            type_tag (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 19
0
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """btm_parameter_reference_part_studio3302.BTMParameterReferencePartStudio3302 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            part_query (btm_parameter_query_list148.BTMParameterQueryList148): [optional]  # noqa: E501
            block_build_function_access (bool): [optional]  # noqa: E501
            standard_content_parameters_id (str): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            parameter_id (str): [optional]  # noqa: E501
            element_id (str): [optional]  # noqa: E501
            feature_script_type (str): [optional]  # noqa: E501
            namespace (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {
        }
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 20
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btsm_bend_table_row_metadata1705.BTSMBendTableRowMetadata1705 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            is_joint_type_editable (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            cross_highlight_data_if_any (bt_table_cross_highlight_data1753.BTTableCrossHighlightData1753): [optional]  # noqa: E501
            cross_highlight_data (bt_table_cross_highlight_data1753.BTTableCrossHighlightData1753): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 21
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_string_maximum_length_pattern2593.BTStringMaximumLengthPattern2593 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            maximum_length (int): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            error_message (str): [optional]  # noqa: E501
            should_reset_value_when_confirmed (bool): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btp_statement_assignment270.BTPStatementAssignment270 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            operator (str): [optional]  # noqa: E501
            lvalue (btpl_value249.BTPLValue249): [optional]  # noqa: E501
            rvalue (btp_expression9.BTPExpression9): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            atomic (bool): [optional]  # noqa: E501
            documentation_type (str): [optional]  # noqa: E501
            end_source_location (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            short_descriptor (str): [optional]  # noqa: E501
            space_after (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_before (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_default (bool): [optional]  # noqa: E501
            start_source_location (int): [optional]  # noqa: E501
            annotation (btp_annotation231.BTPAnnotation231): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if var_name in unused_args and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        not self._additional_properties_model_instances:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Ejemplo n.º 23
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btm_sketch_curve4.BTMSketchCurve4 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            bt_type (str): [optional]  # noqa: E501
            center_id (str): [optional]  # noqa: E501
            geometry (bt_curve_geometry114.BTCurveGeometry114): [optional]  # noqa: E501
            internal_ids ([str]): [optional]  # noqa: E501
            control_box_ids ([str]): [optional]  # noqa: E501
            entity_id (str): [optional]  # noqa: E501
            entity_id_and_replace_in_dependent_fields (str): [optional]  # noqa: E501
            import_microversion (str): [optional]  # noqa: E501
            is_construction (bool): [optional]  # noqa: E501
            namespace (str): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            parameters ([btm_parameter1.BTMParameter1]): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            "_check_type": _check_type,
            "_path_to_item": _path_to_item,
            "_from_server": _from_server,
            "_configuration": _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if (var_name in unused_args and self._configuration is not None
                    and self._configuration.discard_unknown_keys
                    and not self._additional_properties_model_instances):
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Ejemplo n.º 24
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_feature_list_response2457.BTFeatureListResponse2457 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            bt_type (str): [optional]  # noqa: E501
            default_features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            feature_states ({str: (bt_feature_state1688.BTFeatureState1688,)}): [optional]  # noqa: E501
            features ([btm_feature134.BTMFeature134]): [optional]  # noqa: E501
            imports ([btm_import136.BTMImport136]): [optional]  # noqa: E501
            is_complete (bool): [optional]  # noqa: E501
            rollback_index (int): [optional]  # noqa: E501
            library_version (int): [optional]  # noqa: E501
            microversion_skew (bool): [optional]  # noqa: E501
            reject_microversion_skew (bool): [optional]  # noqa: E501
            serialization_version (str): [optional]  # noqa: E501
            source_microversion (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            "_check_type": _check_type,
            "_path_to_item": _path_to_item,
            "_from_server": _from_server,
            "_configuration": _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if (var_name in unused_args and self._configuration is not None
                    and self._configuration.discard_unknown_keys
                    and not self._additional_properties_model_instances):
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Ejemplo n.º 25
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_configured_part_properties_table2740.BTConfiguredPartPropertiesTable2740 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            part_deterministic_id (str): [optional]  # noqa: E501
            property_node_id (str): [optional]  # noqa: E501
            part_deterministic_ids ([str]): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            all_row_values ([[str]]): [optional]  # noqa: E501
            column_count (int): [optional]  # noqa: E501
            frozen_columns (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            read_only (bool): [optional]  # noqa: E501
            row_count (int): [optional]  # noqa: E501
            table_columns ([bt_table_column_info1222.BTTableColumnInfo1222]): [optional]  # noqa: E501
            table_id (str): [optional]  # noqa: E501
            table_rows ([bt_table_row1054.BTTableRow1054]): [optional]  # noqa: E501
            title (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if var_name in unused_args and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        not self._additional_properties_model_instances:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Ejemplo n.º 26
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_document_summary_info.BTDocumentSummaryInfo - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            json_type (str): [optional]  # noqa: E501
            default_element_id (str): [optional]  # noqa: E501
            default_workspace (bt_workspace_info.BTWorkspaceInfo): [optional]  # noqa: E501
            parent_id (str): [optional]  # noqa: E501
            permission_set (bool, date, datetime, dict, float, int, list, str): [optional]  # noqa: E501
            trash (bool): [optional]  # noqa: E501
            total_workspaces_updating (int): [optional]  # noqa: E501
            total_workspaces_scheduled_for_update (int): [optional]  # noqa: E501
            can_unshare (bool): [optional]  # noqa: E501
            thumbnail (bt_thumbnail_info.BTThumbnailInfo): [optional]  # noqa: E501
            support_team_user_and_shared (bool): [optional]  # noqa: E501
            liked_by_current_user (bool): [optional]  # noqa: E501
            document_labels ([bt_document_label_info.BTDocumentLabelInfo]): [optional]  # noqa: E501
            number_of_times_referenced (int): [optional]  # noqa: E501
            number_of_times_copied (int): [optional]  # noqa: E501
            likes (int): [optional]  # noqa: E501
            recent_version (bt_base_info.BTBaseInfo): [optional]  # noqa: E501
            has_relevant_insertables (bool): [optional]  # noqa: E501
            created_with_education_plan (bool): [optional]  # noqa: E501
            not_revision_managed (bool): [optional]  # noqa: E501
            anonymous_access_allowed (bool): [optional]  # noqa: E501
            anonymous_allows_export (bool): [optional]  # noqa: E501
            trashed_at (datetime): [optional]  # noqa: E501
            is_orphaned (bool): [optional]  # noqa: E501
            tags ([str]): [optional]  # noqa: E501
            has_release_revisionable_objects (bool): [optional]  # noqa: E501
            public (bool): [optional]  # noqa: E501
            user_account_limits_breached (bool): [optional]  # noqa: E501
            is_using_managed_workflow (bool): [optional]  # noqa: E501
            permission (str): [optional]  # noqa: E501
            can_move (bool): [optional]  # noqa: E501
            created_at (datetime): [optional]  # noqa: E501
            created_by (bt_user_basic_summary_info.BTUserBasicSummaryInfo): [optional]  # noqa: E501
            description (str): [optional]  # noqa: E501
            href (str): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
            is_container (bool): [optional]  # noqa: E501
            is_enterprise_owned (bool): [optional]  # noqa: E501
            is_mutable (bool): [optional]  # noqa: E501
            modified_at (datetime): [optional]  # noqa: E501
            modified_by (bt_user_basic_summary_info.BTUserBasicSummaryInfo): [optional]  # noqa: E501
            name (str): [optional]  # noqa: E501
            owner (bt_owner_info.BTOwnerInfo): [optional]  # noqa: E501
            project_id (str): [optional]  # noqa: E501
            resource_type (str): [optional]  # noqa: E501
            tree_href (str): [optional]  # noqa: E501
            view_ref (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if var_name in unused_args and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        not self._additional_properties_model_instances:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, _check_type=True, _from_server=False, _path_to_item=(), _configuration=None, **kwargs):  # noqa: E501
        """bt_company_user_summary_info.BTCompanyUserSummaryInfo - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            json_type (str): [optional]  # noqa: E501
            admin (bool): [optional]  # noqa: E501
            cls (str): [optional]  # noqa: E501
            image (str): [optional]  # noqa: E501
            state (int): [optional]  # noqa: E501
            href (str): [optional]  # noqa: E501
            view_ref (str): [optional]  # noqa: E501
            name (str): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
            first_name (str): [optional]  # noqa: E501
            last_name (str): [optional]  # noqa: E501
            email (str): [optional]  # noqa: E501
            last_login_time (datetime): [optional]  # noqa: E501
            company (bt_company_summary_info.BTCompanySummaryInfo): [optional]  # noqa: E501
            global_permissions (global_permission_info.GlobalPermissionInfo): [optional]  # noqa: E501
            is_guest (bool): [optional]  # noqa: E501
            is_light (bool): [optional]  # noqa: E501
            source (int): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {
        }
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(
            constant_args, model_args, self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 28
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btp_top_level_user_type_declaration288.BTPTopLevelUserTypeDeclaration288 - a model defined in OpenAPI


        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            typecheck (btp_name261.BTPName261): [optional]  # noqa: E501
            atomic (bool): [optional]  # noqa: E501
            bt_type (str): [optional]  # noqa: E501
            documentation_type (str): [optional]  # noqa: E501
            end_source_location (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            short_descriptor (str): [optional]  # noqa: E501
            space_after (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_before (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_default (bool): [optional]  # noqa: E501
            start_source_location (int): [optional]  # noqa: E501
            deprecated (bool): [optional]  # noqa: E501
            symbol_name (btp_identifier8.BTPIdentifier8): [optional]  # noqa: E501
            arguments_to_document ([btp_argument_declaration232.BTPArgumentDeclaration232]): [optional]  # noqa: E501
            deprecated_explanation (str): [optional]  # noqa: E501
            for_export (bool): [optional]  # noqa: E501
            space_after_export (btp_space10.BTPSpace10): [optional]  # noqa: E501
            annotation (btp_annotation231.BTPAnnotation231): [optional]  # noqa: E501
            space_after_version (btp_space10.BTPSpace10): [optional]  # noqa: E501
            version (btp_literal_number258.BTPLiteralNumber258): [optional]  # noqa: E501
            name (btp_identifier8.BTPIdentifier8): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        model_args = {}
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]

        for var_name, var_value in six.iteritems(kwargs):
            setattr(self, var_name, var_value)
Ejemplo n.º 29
0
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """bt_team_info.BTTeamInfo - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            admin (bool): [optional]  # noqa: E501
            member (bool): [optional]  # noqa: E501
            size (int): [optional]  # noqa: E501
            active (bool): [optional]  # noqa: E501
            can_move (bool): [optional]  # noqa: E501
            created_at (datetime): [optional]  # noqa: E501
            created_by (bt_user_basic_summary_info.BTUserBasicSummaryInfo): [optional]  # noqa: E501
            description (str): [optional]  # noqa: E501
            href (str): [optional]  # noqa: E501
            id (str): [optional]  # noqa: E501
            is_container (bool): [optional]  # noqa: E501
            is_enterprise_owned (bool): [optional]  # noqa: E501
            is_mutable (bool): [optional]  # noqa: E501
            json_type (str): [optional]  # noqa: E501
            modified_at (datetime): [optional]  # noqa: E501
            modified_by (bt_user_basic_summary_info.BTUserBasicSummaryInfo): [optional]  # noqa: E501
            name (str): [optional]  # noqa: E501
            owner (bt_owner_info.BTOwnerInfo): [optional]  # noqa: E501
            predefined_team (int): [optional]  # noqa: E501
            project_id (str): [optional]  # noqa: E501
            resource_type (str): [optional]  # noqa: E501
            tree_href (str): [optional]  # noqa: E501
            view_ref (str): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            '_check_type': _check_type,
            '_path_to_item': _path_to_item,
            '_from_server': _from_server,
            '_configuration': _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if var_name in unused_args and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        not self._additional_properties_model_instances:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self,
                 _check_type=True,
                 _from_server=False,
                 _path_to_item=(),
                 _configuration=None,
                 **kwargs):  # noqa: E501
        """btp_conversion_function1362.BTPConversionFunction1362 - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _from_server (bool): True if the data is from the server
                                False if the data is from the client (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            bt_type (str): [optional]  # noqa: E501
            _from (btp_literal_number258.BTPLiteralNumber258): [optional]  # noqa: E501
            space_after_type (btp_space10.BTPSpace10): [optional]  # noqa: E501
            to (btp_literal_number258.BTPLiteralNumber258): [optional]  # noqa: E501
            type_name (btp_identifier8.BTPIdentifier8): [optional]  # noqa: E501
            atomic (bool): [optional]  # noqa: E501
            documentation_type (str): [optional]  # noqa: E501
            end_source_location (int): [optional]  # noqa: E501
            node_id (str): [optional]  # noqa: E501
            short_descriptor (str): [optional]  # noqa: E501
            space_after (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_before (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_default (bool): [optional]  # noqa: E501
            start_source_location (int): [optional]  # noqa: E501
            annotation (btp_annotation231.BTPAnnotation231): [optional]  # noqa: E501
            arguments_to_document ([btp_argument_declaration232.BTPArgumentDeclaration232]): [optional]  # noqa: E501
            deprecated (bool): [optional]  # noqa: E501
            deprecated_explanation (str): [optional]  # noqa: E501
            for_export (bool): [optional]  # noqa: E501
            space_after_export (btp_space10.BTPSpace10): [optional]  # noqa: E501
            symbol_name (btp_identifier8.BTPIdentifier8): [optional]  # noqa: E501
            arguments ([btp_argument_declaration232.BTPArgumentDeclaration232]): [optional]  # noqa: E501
            body (btp_statement_block271.BTPStatementBlock271): [optional]  # noqa: E501
            precondition (btp_statement269.BTPStatement269): [optional]  # noqa: E501
            return_type (btp_type_name290.BTPTypeName290): [optional]  # noqa: E501
            space_after_arglist (btp_space10.BTPSpace10): [optional]  # noqa: E501
            space_in_empty_list (btp_space10.BTPSpace10): [optional]  # noqa: E501
        """

        self._data_store = {}
        self._check_type = _check_type
        self._from_server = _from_server
        self._path_to_item = _path_to_item
        self._configuration = _configuration

        constant_args = {
            "_check_type": _check_type,
            "_path_to_item": _path_to_item,
            "_from_server": _from_server,
            "_configuration": _configuration,
        }
        required_args = {}
        # remove args whose value is Null because they are unset
        required_arg_names = list(required_args.keys())
        for required_arg_name in required_arg_names:
            if required_args[required_arg_name] is nulltype.Null:
                del required_args[required_arg_name]
        model_args = {}
        model_args.update(required_args)
        model_args.update(kwargs)
        composed_info = validate_get_composed_info(constant_args, model_args,
                                                   self)
        self._composed_instances = composed_info[0]
        self._var_name_to_model_instances = composed_info[1]
        self._additional_properties_model_instances = composed_info[2]
        unused_args = composed_info[3]

        for var_name, var_value in required_args.items():
            setattr(self, var_name, var_value)
        for var_name, var_value in six.iteritems(kwargs):
            if (var_name in unused_args and self._configuration is not None
                    and self._configuration.discard_unknown_keys
                    and not self._additional_properties_model_instances):
                # discard variable.
                continue
            setattr(self, var_name, var_value)