class_docstr: The inference configuration parameter for the model container.
docstr: Generates a request dictionary using the parameters provided to the class.
docstr_tok: ["Generates","a","request","dictionary","using","the","parameters","provided","to","the","class","."]
code: def _to_request_dict(self):
      """Generates a request dictionary using the parameters provided to the class."""
      request_dict = {}
  
      if self.feature_headers is not None and self.feature_headers:
          request_dict["FeatureHeaders"] = self.feature_headers
      if self.feature_types is not None:
          request_dict["FeatureTypes"] = self.feature_types
      if self.features_attribute is not None:
          request_dict["FeaturesAttribute"] = self.features_attribute
      if self.probability_index is not None:
          request_dict["ProbabilityIndex"] = self.probability_index
      if self.probability_attribute is not None:
          request_dict[
              "ProbabilityAttribute"
          ] = self.probability_attribute
      if self.label_index is not None:
          request_dict["LabelIndex"] = self.label_index
      if self.label_attribute is not None:
          request_dict["LabelAttribute"] = self.label_attribute
      if self.label_headers is not None:
          request_dict["LabelHeaders"] = self.label_headers
      if self.max_payload_in_mb is not None:
          request_dict["MaxPayloadInMB"] = self.max_payload_in_mb
      if self.max_record_count is not None:
          request_dict["MaxRecordCount"] = self.max_record_count
      if self.content_template is not None:
          request_dict["ContentTemplate"] = self.content_template
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import List, Optional
label_desc: Use image node_id 2 for calling the ClarifyInferenceConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict