yijunyu/c-to-rust huggingface dataset:
// Original:
public PutTargetsResult putTargets(PutTargetsRequest request) {request = beforeClientExecution(request);return executePutTargets(request);}

// Translation:
public virtual PutTargetsResponse PutTargets(PutTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutTargetsResponseUnmarshaller.Instance;return Invoke<PutTargetsResponse>(request, options);}
// Original:
public RevokeIpRulesResult revokeIpRules(RevokeIpRulesRequest request) {request = beforeClientExecution(request);return executeRevokeIpRules(request);}

// Translation:
public virtual RevokeIpRulesResponse RevokeIpRules(RevokeIpRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeIpRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeIpRulesResponseUnmarshaller.Instance;return Invoke<RevokeIpRulesResponse>(request, options);}
// Original:
public RegisterGameServerResult registerGameServer(RegisterGameServerRequest request) {request = beforeClientExecution(request);return executeRegisterGameServer(request);}

// Translation:
public virtual RegisterGameServerResponse RegisterGameServer(RegisterGameServerRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterGameServerRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterGameServerResponseUnmarshaller.Instance;return Invoke<RegisterGameServerResponse>(request, options);}
// Original:
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeByte(_options);out.writeShort(_data);int[] jt = _jumpTable;if (jt != null) {for (int i = 0; i < jt.length; i++) {out.writeShort(jt[i]);}out.writeShort(_chooseFuncOffset);}}

// Translation:
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteByte(field_1_options);out1.WriteShort(field_2_data);int[] jt = _jumpTable;if (jt != null){for (int i = 0; i < jt.Length; i++){out1.WriteShort(jt[i]);}out1.WriteShort(_chooseFuncOffset);}}
// Original:
public int getCellsPnt() {Iterator<Character> i = cells.keySet().iterator();int size = 0;for (; i.hasNext();) {Character c = i.next();Cell e = at(c);if (e.ref >= 0) {size++;}}return size;}

// Translation:
public int GetCellsPnt(){int size = 0;foreach (char c in cells.Keys){Cell e = At(c);if (e.@ref >= 0){size++;}}return size;}
// Original:
public E removeFirst() {return removeFirstImpl();}

// Translation:
public virtual E removeFirst(){return removeFirstImpl();}
// Original:
public String toString() {if (getChildren() == null || getChildren().size() == 0)return "<boolean operation='default'/>";StringBuilder sb = new StringBuilder();sb.append("<boolean operation='default'>");for (QueryNode child : getChildren()) {sb.append("\n");sb.append(child.toString());}sb.append("\n</boolean>");return sb.toString();}

// Translation:
public override string ToString(){var children = GetChildren();if (children == null || children.Count == 0)return "<boolean operation='default'/>";StringBuilder sb = new StringBuilder();sb.Append("<boolean operation='default'>");foreach (IQueryNode child in children){sb.Append("\n");sb.Append(child.ToString());}sb.Append("\n</boolean>");return sb.ToString();}
// Original:
public TokenStream create(TokenStream input) {return new TruncateTokenFilter(input, prefixLength);}

// Translation:
public override TokenStream Create(TokenStream input){return new TruncateTokenFilter(input, prefixLength);}
// Original:
public String getErrorDisplay(int c) {String s = String.valueOf((char)c);switch ( c ) {case Token.EOF :s = "<EOF>";break;case '\n' :s = "\\n";break;case '\t' :s = "\\t";break;case '\r' :s = "\\r";break;}return s;}

// Translation:
public virtual string GetErrorDisplay(int c){string s;switch (c){case TokenConstants.EOF:{s = "<EOF>";break;}case '\n':{s = "\\n";break;}case '\t':{s = "\\t";break;}case '\r':{s = "\\r";break;}default:{s = Char.ConvertFromUtf32(c);break;}}return s;}
// Original:
public CreateContactResult createContact(CreateContactRequest request) {request = beforeClientExecution(request);return executeCreateContact(request);}

// Translation:
public virtual CreateContactResponse CreateContact(CreateContactRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateContactRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateContactResponseUnmarshaller.Instance;return Invoke<CreateContactResponse>(request, options);}
// Original:
public Transition[][] getSortedTransitions() {int numStates = getNumStates();Transition[][] transitions = new Transition[numStates][];for(int s=0;s<numStates;s++) {int numTransitions = getNumTransitions(s);transitions[s] = new Transition[numTransitions];for(int t=0;t<numTransitions;t++) {Transition transition = new Transition();getTransition(s, t, transition);transitions[s][t] = transition;}}return transitions;}

// Translation:
public virtual Transition[][] GetSortedTransitions(){State[] states = GetNumberedStates();Transition[][] transitions = new Transition[states.Length][];foreach (State s in states){s.SortTransitions(Transition.COMPARE_BY_MIN_MAX_THEN_DEST);s.TrimTransitionsArray();transitions[s.number] = s.TransitionsArray;Debug.Assert(s.TransitionsArray != null);}return transitions;}
// Original:
public DescribeAccountModificationsResult describeAccountModifications(DescribeAccountModificationsRequest request) {request = beforeClientExecution(request);return executeDescribeAccountModifications(request);}

// Translation:
public virtual DescribeAccountModificationsResponse DescribeAccountModifications(DescribeAccountModificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAccountModificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAccountModificationsResponseUnmarshaller.Instance;return Invoke<DescribeAccountModificationsResponse>(request, options);}
// Original:
public ListSolutionVersionsResult listSolutionVersions(ListSolutionVersionsRequest request) {request = beforeClientExecution(request);return executeListSolutionVersions(request);}

// Translation:
public virtual ListSolutionVersionsResponse ListSolutionVersions(ListSolutionVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSolutionVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSolutionVersionsResponseUnmarshaller.Instance;return Invoke<ListSolutionVersionsResponse>(request, options);}
// Original:
public void finish(FieldInfos fis, int numDocs) throws IOException {if (numDocsWritten != numDocs) {throw new RuntimeException("mergeFields produced an invalid result: docCount is " + numDocs+ " but only saw " + numDocsWritten + " file=" + out.toString() + "; now aborting this merge to prevent index corruption");}write(END);newLine();SimpleTextUtil.writeChecksum(out, scratch);}

// Translation:
public override void Finish(FieldInfos fis, int numDocs){if (_numDocsWritten != numDocs){throw new Exception("mergeFields produced an invalid result: docCount is " + numDocs + " but only saw " +_numDocsWritten + " file=" + _output +"; now aborting this merge to prevent index corruption");}Write(END);NewLine();SimpleTextUtil.WriteChecksum(_output, _scratch);}
// Original:
public SetVaultNotificationsRequest(String vaultName, VaultNotificationConfig vaultNotificationConfig) {setVaultName(vaultName);setVaultNotificationConfig(vaultNotificationConfig);}

// Translation:
public SetVaultNotificationsRequest(string vaultName, VaultNotificationConfig vaultNotificationConfig){_vaultName = vaultName;_vaultNotificationConfig = vaultNotificationConfig;}
// Original:
public Trie reduce(Reduce by) {List<Trie> h = new ArrayList<>();for (Trie trie : tries)h.add(trie.reduce(by));MultiTrie m = new MultiTrie(forward);m.tries = h;return m;}

// Translation:
public override Trie Reduce(Reduce by){List<Trie> h = new List<Trie>();foreach (Trie trie in m_tries)h.Add(trie.Reduce(by));MultiTrie m = new MultiTrie(forward);m.m_tries = h;return m;}
// Original:
public void println() {synchronized (lock) {print(System.lineSeparator());if (autoFlush) {flush();}}}

// Translation:
public virtual void println(){lock (@lock){print(System.Environment.NewLine);if (autoFlush){flush();}}}
// Original:
public final void writeChar(int val) throws IOException {writeShort(val);}

// Translation:
public virtual void writeChar(int val){throw new System.NotImplementedException();}
// Original:
public String toFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append(GREATERTHAN);buffer.append(operands[ 1 ]);return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(GREATERTHAN);buffer.Append(operands[1]);return buffer.ToString();}
// Original:
public UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request) {request = beforeClientExecution(request);return executeUpdateDeployment(request);}

// Translation:
public virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;return Invoke<UpdateDeploymentResponse>(request, options);}
// Original:
public ListRoutingProfilesResult listRoutingProfiles(ListRoutingProfilesRequest request) {request = beforeClientExecution(request);return executeListRoutingProfiles(request);}

// Translation:
public virtual ListRoutingProfilesResponse ListRoutingProfiles(ListRoutingProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListRoutingProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance;return Invoke<ListRoutingProfilesResponse>(request, options);}
// Original:
public boolean isFormulaSame(SharedFormulaRecord other) {return field_7_parsed_expr.isSame(other.field_7_parsed_expr);}

// Translation:
public bool IsFormulaSame(SharedFormulaRecord other){return field_7_parsed_expr.IsSame(other.field_7_parsed_expr);}
// Original:
public static byte getType(int ch) {switch (Character.getType(ch)) {case Character.UPPERCASE_LETTER: return UPPER;case Character.LOWERCASE_LETTER: return LOWER;case Character.TITLECASE_LETTER:case Character.MODIFIER_LETTER:case Character.OTHER_LETTER:case Character.NON_SPACING_MARK:case Character.ENCLOSING_MARK:  case Character.COMBINING_SPACING_MARK:return ALPHA;case Character.DECIMAL_DIGIT_NUMBER:case Character.LETTER_NUMBER:case Character.OTHER_NUMBER:return DIGIT;case Character.SURROGATE:  return ALPHA|DIGIT;default: return SUBWORD_DELIM;}}

// Translation:
public static byte GetType(int ch){switch (CharUnicodeInfo.GetUnicodeCategory((char)ch)){case UnicodeCategory.UppercaseLetter:return WordDelimiterFilter.UPPER;case UnicodeCategory.LowercaseLetter:return WordDelimiterFilter.LOWER;case UnicodeCategory.TitlecaseLetter:case UnicodeCategory.ModifierLetter:case UnicodeCategory.OtherLetter:case UnicodeCategory.NonSpacingMark:case UnicodeCategory.EnclosingMark: case UnicodeCategory.SpacingCombiningMark:return WordDelimiterFilter.ALPHA;case UnicodeCategory.DecimalDigitNumber:case UnicodeCategory.LetterNumber:case UnicodeCategory.OtherNumber:return WordDelimiterFilter.DIGIT;case UnicodeCategory.Surrogate:return WordDelimiterFilter.ALPHA | WordDelimiterFilter.DIGIT;default:return WordDelimiterFilter.SUBWORD_DELIM;}}
// Original:
public CreateImageResult createImage(CreateImageRequest request) {request = beforeClientExecution(request);return executeCreateImage(request);}

// Translation:
public virtual CreateImageResponse CreateImage(CreateImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateImageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateImageResponseUnmarshaller.Instance;return Invoke<CreateImageResponse>(request, options);}
// Original:
public void assume(RevCommit c) {if (c != null)assume.add(c);}

// Translation:
public virtual void Assume(RevCommit c){if (c != null){assume.AddItem(c);}}
// Original:
public DeleteTagsResult deleteTags(DeleteTagsRequest request) {request = beforeClientExecution(request);return executeDeleteTags(request);}

// Translation:
public virtual DeleteTagsResponse DeleteTags(DeleteTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance;return Invoke<DeleteTagsResponse>(request, options);}
// Original:
public ListTemplateVersionsResult listTemplateVersions(ListTemplateVersionsRequest request) {request = beforeClientExecution(request);return executeListTemplateVersions(request);}

// Translation:
public virtual ListTemplateVersionsResponse ListTemplateVersions(ListTemplateVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTemplateVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTemplateVersionsResponseUnmarshaller.Instance;return Invoke<ListTemplateVersionsResponse>(request, options);}
// Original:
public String toString() {return "(" + x + ", " + y + ")"; }

// Translation:
public override string ToString(){return "Point(" + x + ", " + y + ")";}
// Original:
public DisjunctionMaxQueryBuilder(QueryBuilder factory) {this.factory = factory;}

// Translation:
public DisjunctionMaxQueryBuilder(IQueryBuilder factory){this.factory = factory;}
// Original:
public PutNotificationConfigurationResult putNotificationConfiguration(PutNotificationConfigurationRequest request) {request = beforeClientExecution(request);return executePutNotificationConfiguration(request);}

// Translation:
public virtual PutNotificationConfigurationResponse PutNotificationConfiguration(PutNotificationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutNotificationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutNotificationConfigurationResponseUnmarshaller.Instance;return Invoke<PutNotificationConfigurationResponse>(request, options);}
// Original:
public RecognizeFlowerRequest() {super("visionai-poc", "2020-04-08", "RecognizeFlower");setMethod(MethodType.POST);}

// Translation:
public RecognizeFlowerRequest(): base("visionai-poc", "2020-04-08", "RecognizeFlower"){Method = MethodType.POST;}
// Original:
public IndexFormatTooOldException(String resourceDescription, int version, int minVersion, int maxVersion) {super("Format version is not supported (resource " + resourceDescription + "): " +version + " (needs to be between " + minVersion + " and " + maxVersion +"). This version of Lucene only supports indexes created with release 8.0 and later.");this.resourceDescription = resourceDescription;this.version = version;this.minVersion = minVersion;this.maxVersion = maxVersion;this.reason = null;}

// Translation:
public IndexFormatTooOldException(string resourceDesc, int version, int minVersion, int maxVersion): base("Format version is not supported (resource: " + resourceDesc + "): " + version + " (needs to be between " + minVersion + " and " + maxVersion + "). this version of Lucene only supports indexes created with release 3.0 and later."){Debug.Assert(resourceDesc != null);}
// Original:
public void add(int el) {if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");add(el,el);}

// Translation:
public virtual void Add(int el){if (@readonly){throw new InvalidOperationException("can't alter readonly IntervalSet");}Add(el, el);}
// Original:
@Override public final int read(byte[] buffer) throws IOException {return super.read(buffer);}

// Translation:
public sealed override int read(byte[] buffer){throw new System.NotImplementedException();}
// Original:
@Override public boolean remove(Object key) {if (!contains(key)) {return false;}removeFromBothMaps(key);return true;}

// Translation:
public override bool remove(object o){lock (this._enclosing){int oldSize = this._enclosing._size;this._enclosing.remove(o);return this._enclosing._size != oldSize;}}
// Original:
public DescribeClusterSecurityGroupsResult describeClusterSecurityGroups(DescribeClusterSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterSecurityGroups(request);}

// Translation:
public virtual DescribeClusterSecurityGroupsResponse DescribeClusterSecurityGroups(DescribeClusterSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeClusterSecurityGroupsResponse>(request, options);}
// Original:
public TokenStream create(TokenStream input) {return new ScandinavianFoldingFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new ScandinavianFoldingFilter(input);}
// Original:
public DeleteNotebookInstanceLifecycleConfigResult deleteNotebookInstanceLifecycleConfig(DeleteNotebookInstanceLifecycleConfigRequest request) {request = beforeClientExecution(request);return executeDeleteNotebookInstanceLifecycleConfig(request);}

// Translation:
public virtual DeleteNotebookInstanceLifecycleConfigResponse DeleteNotebookInstanceLifecycleConfig(DeleteNotebookInstanceLifecycleConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotebookInstanceLifecycleConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotebookInstanceLifecycleConfigResponseUnmarshaller.Instance;return Invoke<DeleteNotebookInstanceLifecycleConfigResponse>(request, options);}
// Original:
public DescribeComponentConfigurationRecommendationResult describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request) {request = beforeClientExecution(request);return executeDescribeComponentConfigurationRecommendation(request);}

// Translation:
public virtual DescribeComponentConfigurationRecommendationResponse DescribeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentConfigurationRecommendationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentConfigurationRecommendationResponseUnmarshaller.Instance;return Invoke<DescribeComponentConfigurationRecommendationResponse>(request, options);}
// Original:
public SimpleMergedSegmentWarmer(InfoStream infoStream) {this.infoStream = infoStream;}

// Translation:
public SimpleMergedSegmentWarmer(InfoStream infoStream){this.infoStream = infoStream;}
// Original:
public int nextIndex() {return pos + 1;}

// Translation:
public int nextIndex(){return pos + 1;}
// Original:
public ThaiTokenizerFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public ThaiTokenizerFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public int doLogic() throws Exception {if (name==null || value==null) {throw new Exception(getName()+" - undefined name or value: name="+name+" value="+value);}getRunData().getConfig().set(name,value);return 0;}

// Translation:
public override int DoLogic(){if (name == null || value == null){throw new Exception(GetName() + " - undefined name or value: name=" + name + " value=" + value);}RunData.Config.Set(name, value);return 0;}
// Original:
public void setPrintArea(int sheetIndex, String reference){NameRecord name = workbook.getSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);if (name == null) {name = workbook.createBuiltInName(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);}String[] parts = COMMA_PATTERN.split(reference);StringBuilder sb = new StringBuilder(32);for (int i = 0; i < parts.length; i++) {if(i>0) {sb.append(",");}SheetNameFormatter.appendFormat(sb, getSheetName(sheetIndex));sb.append("!");sb.append(parts[i]);}name.setNameDefinition(HSSFFormulaParser.parse(sb.toString(), this, FormulaType.NAMEDRANGE, sheetIndex));}

// Translation:
public void SetPrintArea(int sheetIndex, String reference){NameRecord name = workbook.GetSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);if (name == null)name = workbook.CreateBuiltInName(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);String[] parts = reference.Split(new char[]{','});StringBuilder sb = new StringBuilder(32);for (int i = 0; i < parts.Length; i++){if (i > 0){sb.Append(",");}SheetNameFormatter.AppendFormat(sb, GetSheetName(sheetIndex));sb.Append("!");sb.Append(parts[i]);}name.NameDefinition =(HSSFFormulaParser.Parse(sb.ToString(), this, FormulaType.NamedRange, sheetIndex));}
// Original:
public String getPartOfSpeech() {return dictionary.getPartOfSpeech(wordId);}

// Translation:
public virtual string GetPartOfSpeech(){return dictionary.GetPartOfSpeech(wordId);}
// Original:
public synchronized static DefaultProfile getProfile(String regionId) {return new DefaultProfile(regionId);}

// Translation:
public static DefaultProfile GetProfile(string regionId){return new DefaultProfile(regionId);}
// Original:
public TurkishLowerCaseFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public TurkishLowerCaseFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public static boolean equals(double[] array1, double[] array2) {if (array1 == array2) {return true;}if (array1 == null || array2 == null || array1.length != array2.length) {return false;}for (int i = 0; i < array1.length; i++) {if (Double.doubleToLongBits(array1[i]) != Double.doubleToLongBits(array2[i])) {return false;}}return true;}

// Translation:
public static bool equals(double[] array1, double[] array2){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length != array2.Length){return false;}{for (int i = 0; i < array1.Length; i++){if (Sharpen.Util.DoubleToLongBits(array1[i]) != Sharpen.Util.DoubleToLongBits(array2[i])){return false;}}}return true;}
// Original:
public ShortField(final int offset)throws ArrayIndexOutOfBoundsException{if (offset < 0){throw new ArrayIndexOutOfBoundsException("Illegal offset: "+ offset);}_offset = offset;}

// Translation:
public ShortField(int offset){if (offset < 0){throw new IndexOutOfRangeException("Illegal offset: "+ offset);}_offset = offset;}
// Original:
public int getEffectivePort() {return getEffectivePort(scheme, port);}

// Translation:
public int getEffectivePort(){return getEffectivePort(scheme, port);}
// Original:
public GetDiskSnapshotsResult getDiskSnapshots(GetDiskSnapshotsRequest request) {request = beforeClientExecution(request);return executeGetDiskSnapshots(request);}

// Translation:
public virtual GetDiskSnapshotsResponse GetDiskSnapshots(GetDiskSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDiskSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDiskSnapshotsResponseUnmarshaller.Instance;return Invoke<GetDiskSnapshotsResponse>(request, options);}
// Original:
public ParseTreePatternMatcher(Lexer lexer, Parser parser) {this.lexer = lexer;this.parser = parser;}

// Translation:
public ParseTreePatternMatcher(Lexer lexer, Parser parser){this.lexer = lexer;this.parser = parser;}
// Original:
public PassageScorer(float k1, float b, float pivot) {this.k1 = k1;this.b = b;this.pivot = pivot;}

// Translation:
public PassageScorer(float k1, float b, float pivot){this.k1 = k1;this.b = b;this.pivot = pivot;}
// Original:
public CreateTicketRequest() {super("Ccs", "2017-10-01", "CreateTicket", "ccs");setMethod(MethodType.POST);}

// Translation:
public CreateTicketRequest(): base("Ccs", "2017-10-01", "CreateTicket", "ccs", "openAPI"){Method = MethodType.POST;}