yijunyu/c-to-rust huggingface dataset:
// Original:
public ListProposalVotesResult listProposalVotes(ListProposalVotesRequest request) {request = beforeClientExecution(request);return executeListProposalVotes(request);}

// Translation:
public virtual ListProposalVotesResponse ListProposalVotes(ListProposalVotesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProposalVotesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProposalVotesResponseUnmarshaller.Instance;return Invoke<ListProposalVotesResponse>(request, options);}
// Original:
public SheetRangeEvaluator getRefEvaluatorForCurrentSheet() {SheetRefEvaluator sre = new SheetRefEvaluator(_bookEvaluator, _tracker, _sheetIndex);return new SheetRangeEvaluator(_sheetIndex, sre);}

// Translation:
public SheetRangeEvaluator GetRefEvaluatorForCurrentSheet(){SheetRefEvaluator sre = new SheetRefEvaluator(_bookEvaluator, _tracker, _sheetIndex);return new SheetRangeEvaluator(_sheetIndex, sre);}
// Original:
public long ramBytesUsed() {return fst == null ? 0 : fst.ramBytesUsed();}

// Translation:
public override long RamBytesUsed(){long sizeInBytes = 0;foreach (FieldIndexData entry in fields.Values){sizeInBytes += entry.RamBytesUsed();}return sizeInBytes;}
// Original:
public DataLabelExtensionRecord(RecordInputStream in) {rt = in.readShort();grbitFrt = in.readShort();in.readFully(unused);}

// Translation:
public DataLabelExtensionRecord(RecordInputStream in1){rt = in1.ReadShort();grbitFrt = in1.ReadShort();in1.ReadFully(unused);}
// Original:
public ArchiveFindingsResult archiveFindings(ArchiveFindingsRequest request) {request = beforeClientExecution(request);return executeArchiveFindings(request);}

// Translation:
public virtual ArchiveFindingsResponse ArchiveFindings(ArchiveFindingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ArchiveFindingsRequestMarshaller.Instance;options.ResponseUnmarshaller = ArchiveFindingsResponseUnmarshaller.Instance;return Invoke<ArchiveFindingsResponse>(request, options);}
// Original:
public ChartSubstreamRecordAggregate(RecordStream rs) {_bofRec = (BOFRecord) rs.getNext();List<RecordBase> temp = new ArrayList<>();while (rs.peekNextClass() != EOFRecord.class) {if (PageSettingsBlock.isComponentRecord(rs.peekNextSid())) {if (_psBlock != null) {if (rs.peekNextSid() == HeaderFooterRecord.sid) {_psBlock.addLateHeaderFooter((HeaderFooterRecord)rs.getNext());continue;}throw new IllegalStateException("Found more than one PageSettingsBlock in chart sub-stream, had sid: " + rs.peekNextSid());}_psBlock = new PageSettingsBlock(rs);temp.add(_psBlock);continue;}temp.add(rs.getNext());}_recs = temp;org.apache.poi.hssf.record.Record eof = rs.getNext(); if (!(eof instanceof EOFRecord)) {throw new IllegalStateException("Bad chart EOF");}}

// Translation:
public ChartSubstreamRecordAggregate(RecordStream rs){_bofRec = (BOFRecord)rs.GetNext();List<RecordBase> temp = new List<RecordBase>();while (rs.PeekNextClass() != typeof(EOFRecord)){Type a = rs.PeekNextClass();if (PageSettingsBlock.IsComponentRecord(rs.PeekNextSid())){if (_psBlock != null){if (rs.PeekNextSid() == HeaderFooterRecord.sid){_psBlock.AddLateHeaderFooter((HeaderFooterRecord)rs.GetNext());continue;}throw new InvalidDataException("Found more than one PageSettingsBlock in chart sub-stream");}_psBlock = new PageSettingsBlock(rs);temp.Add(_psBlock);continue;}temp.Add(rs.GetNext());}_recs = temp;Record eof = rs.GetNext(); if (!(eof is EOFRecord)){throw new InvalidOperationException("Bad chart EOF");}}
// Original:
public CreateSnapshotsResult createSnapshots(CreateSnapshotsRequest request) {request = beforeClientExecution(request);return executeCreateSnapshots(request);}

// Translation:
public virtual CreateSnapshotsResponse CreateSnapshots(CreateSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSnapshotsResponseUnmarshaller.Instance;return Invoke<CreateSnapshotsResponse>(request, options);}
// Original:
public String toFormulaString() {return "()";}

// Translation:
public override String ToFormulaString(){return "()";}
// Original:
@Override public Iterator<Entry<K, V>> iterator() {final Iterator<Entry<K, V>> iterator = filteredEntrySet.iterator();return new UnmodifiableIterator<Entry<K, V>>() {

// Translation:
public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}
// Original:
public UnmonitorInstancesRequest(java.util.List<String> instanceIds) {setInstanceIds(instanceIds);}

// Translation:
public UnmonitorInstancesRequest(List<string> instanceIds){_instanceIds = instanceIds;}
// Original:
public static Inflater get() {final Inflater r = getImpl();return r != null ? r : new Inflater(false);}

// Translation:
public static Inflater Get(){Inflater r = GetImpl();return r != null ? r : new Inflater(false);}
// Original:
public long get(int index) {checkIndex(index);return byteBuffer.getLong(index * SizeOf.LONG);}

// Translation:
public override long get(int index){checkIndex(index);return byteBuffer.getLong(index * libcore.io.SizeOf.LONG);}
// Original:
public IntervalSet complement(int minElement, int maxElement) {return this.complement(IntervalSet.of(minElement,maxElement));}

// Translation:
public virtual Antlr4.Runtime.Misc.IntervalSet Complement(int minElement, int maxElement){return this.Complement(Antlr4.Runtime.Misc.IntervalSet.Of(minElement, maxElement));}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("<sortedset" + ": \"").append(getField()).append("\">");if (getReverse()) buffer.append('!');if (missingValue != null) {buffer.append(" missingValue=");buffer.append(missingValue);}buffer.append(" selector=");buffer.append(selector);return buffer.toString();}

// Translation:
public override string ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("<sortedset" + ": \"").Append(Field).Append("\">");if (IsReverse) buffer.Append('!');if (MissingValue != null){buffer.Append(" missingValue=");buffer.Append(MissingValue);}buffer.Append(" selector=");buffer.Append(selector);return buffer.ToString();}
// Original:
public DescribeTrafficMirrorSessionsResult describeTrafficMirrorSessions(DescribeTrafficMirrorSessionsRequest request) {request = beforeClientExecution(request);return executeDescribeTrafficMirrorSessions(request);}

// Translation:
public virtual DescribeTrafficMirrorSessionsResponse DescribeTrafficMirrorSessions(DescribeTrafficMirrorSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTrafficMirrorSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTrafficMirrorSessionsResponseUnmarshaller.Instance;return Invoke<DescribeTrafficMirrorSessionsResponse>(request, options);}
// Original:
public boolean isDirect() {return byteBuffer.isDirect();}

// Translation:
public override bool isDirect(){return byteBuffer.isDirect();}
// Original:
public Set<String> getConflicting() {return Collections.unmodifiableSet(diff.getConflicting());}

// Translation:
public virtual ICollection<string> GetConflicting(){return Sharpen.Collections.UnmodifiableSet(diff.GetConflicting());}
// Original:
public ListDeviceEventsResult listDeviceEvents(ListDeviceEventsRequest request) {request = beforeClientExecution(request);return executeListDeviceEvents(request);}

// Translation:
public virtual ListDeviceEventsResponse ListDeviceEvents(ListDeviceEventsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeviceEventsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeviceEventsResponseUnmarshaller.Instance;return Invoke<ListDeviceEventsResponse>(request, options);}
// Original:
@Override public boolean isEmpty() {return BoundedMap.this.isEmpty();}

// Translation:
public override bool isEmpty(){return this._enclosing.isEmpty();}
// Original:
public EscherSimpleProperty( short id, int propertyValue ) {super( id );this.propertyValue = propertyValue;}

// Translation:
public EscherSimpleProperty(short id, int propertyValue):base(id){this.propertyValue = propertyValue;}
// Original:
public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, String shapeField, int defaultSize) {super( shapeField, defaultSize );this.grid = grid;}

// Translation:
public PointPrefixTreeFieldCacheProvider(SpatialPrefixTree grid, string shapeField, int defaultSize): base(shapeField, defaultSize){this.grid = grid;}
// Original:
public void writeByte(byte b) {assert pos < limit;bytes[pos++] = b;}

// Translation:
public override void WriteByte(byte b){Debug.Assert(pos < limit);bytes[pos++] = b;}
// Original:
public DescribeTransitGatewayPeeringAttachmentsResult describeTransitGatewayPeeringAttachments(DescribeTransitGatewayPeeringAttachmentsRequest request) {request = beforeClientExecution(request);return executeDescribeTransitGatewayPeeringAttachments(request);}

// Translation:
public virtual DescribeTransitGatewayPeeringAttachmentsResponse DescribeTransitGatewayPeeringAttachments(DescribeTransitGatewayPeeringAttachmentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransitGatewayPeeringAttachmentsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransitGatewayPeeringAttachmentsResponseUnmarshaller.Instance;return Invoke<DescribeTransitGatewayPeeringAttachmentsResponse>(request, options);}
// Original:
public Set<Entry<String, Ref>> entrySet() {if (entrySet == null) {entrySet = new AbstractSet<Entry<String, Ref>>() {@Override

// Translation:
public override ICollection<KeyValuePair<string, Ref>> EntrySet(){if (entrySet == null){entrySet = new _AbstractSet_223(this);}return entrySet;}
// Original:
public final ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) {try {return evaluateFunc(args, srcCellRow, srcCellCol);} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public ValueEval Evaluate(ValueEval[] args, int srcCellRow, int srcCellCol){try{return EvaluateFunc(args, srcCellRow, srcCellCol);}catch (EvaluationException e){return e.GetErrorEval();}}
// Original:
public CreateConfigurationTemplateRequest(String applicationName, String templateName) {setApplicationName(applicationName);setTemplateName(templateName);}

// Translation:
public CreateConfigurationTemplateRequest(string applicationName, string templateName){_applicationName = applicationName;_templateName = templateName;}
// Original:
public GetUsagePlansResult getUsagePlans(GetUsagePlansRequest request) {request = beforeClientExecution(request);return executeGetUsagePlans(request);}

// Translation:
public virtual GetUsagePlansResponse GetUsagePlans(GetUsagePlansRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUsagePlansRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUsagePlansResponseUnmarshaller.Instance;return Invoke<GetUsagePlansResponse>(request, options);}
// Original:
public static int serializePtgs(Ptg[] ptgs, byte[] array, int offset) {LittleEndianByteArrayOutputStream out = new LittleEndianByteArrayOutputStream(array, offset); List<Ptg> arrayPtgs = null;for (Ptg ptg : ptgs) {ptg.write(out);if (ptg instanceof ArrayPtg) {if (arrayPtgs == null) {arrayPtgs = new ArrayList<>(5);}arrayPtgs.add(ptg);}}if (arrayPtgs != null) {for (Ptg arrayPtg : arrayPtgs) {ArrayPtg p = (ArrayPtg) arrayPtg;p.writeTokenValueBytes(out);}}return out.getWriteIndex() - offset;}

// Translation:
public static int SerializePtgs(Ptg[] ptgs, byte[] array, int offset){int size = ptgs.Length;LittleEndianByteArrayOutputStream out1 = new LittleEndianByteArrayOutputStream(array, offset);ArrayList arrayPtgs = null;for (int k = 0; k < size; k++){Ptg ptg = ptgs[k];ptg.Write(out1);if (ptg is ArrayPtg){if (arrayPtgs == null){arrayPtgs = new ArrayList(5);}arrayPtgs.Add(ptg);}}if (arrayPtgs != null){for (int i = 0; i < arrayPtgs.Count; i++){ArrayPtg p = (ArrayPtg)arrayPtgs[i];p.WriteTokenValueBytes(out1);}}return out1.WriteIndex - offset; ;}
// Original:
public int size() {return lines.size() - 2;}

// Translation:
public override int Size(){return lines.Size() - 2;}
// Original:
public NumberRecord(RecordInputStream in) {super(in);field_4_value = in.readDouble();}

// Translation:
public NumberRecord(RecordInputStream in1):base(in1){field_4_value = in1.ReadDouble();}
// Original:
public UnpeerVpcResult unpeerVpc(UnpeerVpcRequest request) {request = beforeClientExecution(request);return executeUnpeerVpc(request);}

// Translation:
public virtual UnpeerVpcResponse UnpeerVpc(UnpeerVpcRequest request){var options = new InvokeOptions();options.RequestMarshaller = UnpeerVpcRequestMarshaller.Instance;options.ResponseUnmarshaller = UnpeerVpcResponseUnmarshaller.Instance;return Invoke<UnpeerVpcResponse>(request, options);}
// Original:
public DescribeTransitGatewayMulticastDomainsResult describeTransitGatewayMulticastDomains(DescribeTransitGatewayMulticastDomainsRequest request) {request = beforeClientExecution(request);return executeDescribeTransitGatewayMulticastDomains(request);}

// Translation:
public virtual DescribeTransitGatewayMulticastDomainsResponse DescribeTransitGatewayMulticastDomains(DescribeTransitGatewayMulticastDomainsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransitGatewayMulticastDomainsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransitGatewayMulticastDomainsResponseUnmarshaller.Instance;return Invoke<DescribeTransitGatewayMulticastDomainsResponse>(request, options);}
// Original:
public final Break getBreak(int main) {Integer rowKey = Integer.valueOf(main);return _breakMap.get(rowKey);}

// Translation:
public Break GetBreak(int main){return (Break)_breakMap[main];}
// Original:
public HSSFPatternFormatting getPatternFormatting(){return getPatternFormatting(false);}

// Translation:
public IPatternFormatting GetPatternFormatting(){return GetPatternFormatting(false);}
// Original:
public FileMode getMode(Side side) {return side == Side.OLD ? getOldMode() : getNewMode();}

// Translation:
public virtual FileMode GetMode(DiffEntry.Side side){return side == DiffEntry.Side.OLD ? GetOldMode() : GetNewMode();}
// Original:
public StringBuffer append(int i) {IntegralToString.appendInt(this, i);return this;}

// Translation:
public java.lang.StringBuffer append(bool b){return append(b ? "true" : "false");}
// Original:
public boolean requiresCommitBody() {return true;}

// Translation:
public override bool RequiresCommitBody(){return false;}
// Original:
public boolean remove(Object object) {Iterator<?> it = iterator();if (object != null) {while (it.hasNext()) {if (object.equals(it.next())) {it.remove();return true;}}} else {while (it.hasNext()) {if (it.next() == null) {it.remove();return true;}}}return false;}

// Translation:
public virtual bool remove(object @object){java.util.Iterator<E> it = iterator();if (@object != null){while (it.hasNext()){if (@object.Equals(it.next())){it.remove();return true;}}}else{while (it.hasNext()){if (it.next() == null){it.remove();return true;}}}return false;}
// Original:
public Object get(CharSequence key) {return trie.get(key);}

// Translation:
public virtual object Get(string key){return trie.Get(key);}
// Original:
public SubmoduleInitCommand submoduleInit() {return new SubmoduleInitCommand(repo);}

// Translation:
public virtual SubmoduleInitCommand SubmoduleInit(){return new SubmoduleInitCommand(repo);}
// Original:
public GetRepositoryPolicyResult getRepositoryPolicy(GetRepositoryPolicyRequest request) {request = beforeClientExecution(request);return executeGetRepositoryPolicy(request);}

// Translation:
public virtual GetRepositoryPolicyResponse GetRepositoryPolicy(GetRepositoryPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRepositoryPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRepositoryPolicyResponseUnmarshaller.Instance;return Invoke<GetRepositoryPolicyResponse>(request, options);}
// Original:
public HSSFPicture createPicture(ClientAnchor anchor, int pictureIndex) {return createPicture((HSSFClientAnchor) anchor, pictureIndex);}

// Translation:
public IPicture CreatePicture(IClientAnchor anchor, int pictureIndex){return CreatePicture((HSSFClientAnchor)anchor, pictureIndex);}
// Original:
public int fillFields(byte[] data, int pOffset, EscherRecordFactory recordFactory) {int bytesRemaining = readHeader(data, pOffset);int bytesWritten = 8;int offset = pOffset + 8;while (bytesRemaining > 0 && offset < data.length) {EscherRecord child = recordFactory.createRecord(data, offset);int childBytesWritten = child.fillFields(data, offset, recordFactory);bytesWritten += childBytesWritten;offset += childBytesWritten;bytesRemaining -= childBytesWritten;addChildRecord(child);if (offset >= data.length && bytesRemaining > 0) {_remainingLength = bytesRemaining;if (log.check(POILogger.WARN)) {log.log(POILogger.WARN, "Not enough Escher data: " + bytesRemaining + " bytes remaining but no space left");}}}return bytesWritten;}

// Translation:
public override int FillFields(byte[] data, int offset, IEscherRecordFactory recordFactory){int bytesRemaining = ReadHeader(data, offset);int bytesWritten = 8;offset += 8;while (bytesRemaining > 0 && offset < data.Length){EscherRecord child = recordFactory.CreateRecord(data, offset);int childBytesWritten = child.FillFields(data, offset, recordFactory);bytesWritten += childBytesWritten;offset += childBytesWritten;bytesRemaining -= childBytesWritten;AddChildRecord(child);if (offset >= data.Length && bytesRemaining > 0){_remainingLength = bytesRemaining;log.Log(POILogger.WARN, "Not enough Escher data: " + bytesRemaining + " bytes remaining but no space left");}}return bytesWritten;}
// Original:
public void startElement(String namespace, String simple, String qualified,Attributes attributes) {int elemType = getElementType(qualified);switch (elemType) {case PAGE:title = null;body = null;time = null;id = null;break;case BODY:case DATE:case TITLE:case ID:contents.setLength(0);break;default:}}

// Translation:
public override void StartElement(string @namespace, string simple, string qualified,IAttributes attributes){int elemType = GetElementType(qualified);switch (elemType){case PAGE:title = null;body = null;time = null;id = null;break;case BODY:case DATE:case TITLE:case ID:contents.Length = 0;break;default:break;}}
// Original:
public AbbreviatedObjectId abbreviate(int len) {final int a = AbbreviatedObjectId.mask(len, 1, w1);final int b = AbbreviatedObjectId.mask(len, 2, w2);final int c = AbbreviatedObjectId.mask(len, 3, w3);final int d = AbbreviatedObjectId.mask(len, 4, w4);final int e = AbbreviatedObjectId.mask(len, 5, w5);return new AbbreviatedObjectId(len, a, b, c, d, e);}

// Translation:
public virtual AbbreviatedObjectId Abbreviate(int len){int a = AbbreviatedObjectId.Mask(len, 1, w1);int b = AbbreviatedObjectId.Mask(len, 2, w2);int c = AbbreviatedObjectId.Mask(len, 3, w3);int d = AbbreviatedObjectId.Mask(len, 4, w4);int e = AbbreviatedObjectId.Mask(len, 5, w5);return new AbbreviatedObjectId(len, a, b, c, d, e);}
// Original:
public String toString() {return "{"+precedence+">=prec}?";}

// Translation:
public override string ToString(){return "{" + precedence + ">=prec}?";}
// Original:
public IntBuffer put(IntBuffer buf) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.IntBuffer put(java.nio.IntBuffer buf){throw new java.nio.ReadOnlyBufferException();}
// Original:
public static PathSuffixFilter create(String path) {if (path.length() == 0)throw new IllegalArgumentException(JGitText.get().emptyPathNotPermitted);return new PathSuffixFilter(path);}

// Translation:
public static NGit.Treewalk.Filter.PathSuffixFilter Create(string path){if (path.Length == 0){throw new ArgumentException(JGitText.Get().emptyPathNotPermitted);}return new NGit.Treewalk.Filter.PathSuffixFilter(path);}
// Original:
public static Cell getCell(Row row, int columnIndex) {Cell cell = row.getCell(columnIndex);if (cell == null) {cell = row.createCell(columnIndex);}return cell;}

// Translation:
public static ICell GetCell(IRow row, int columnIndex){ICell cell = row.GetCell(columnIndex);if (cell == null){cell = row.CreateCell(columnIndex);}return cell;}
// Original:
public void write(ByteBuffer src, long position) {long endPosition = position + src.capacity();if(endPosition > buffer.length) {extend(endPosition);}src.get(buffer, (int)position, src.capacity());if(endPosition > size) {size = endPosition;}}

// Translation:
public override void Write(ByteBuffer src, long position){long endPosition = position + src.Length;if (endPosition > buffer.Length){Extend(endPosition);}src.Read(buffer, (int)position, src.Length);if (endPosition > size){size = endPosition;}}
// Original:
public void print(int i) {print(String.valueOf(i));}

// Translation:
public virtual void print(int i){print(i.ToString());}
// Original:
public ICUNormalizer2CharFilterFactory(Map<String,String> args) {super(args);String form = get(args, "form", "nfkc_cf");String mode = get(args, "mode", Arrays.asList("compose", "decompose"), "compose");Normalizer2 normalizer = Normalizer2.getInstance(null, form, "compose".equals(mode) ? Normalizer2.Mode.COMPOSE : Normalizer2.Mode.DECOMPOSE);String filter = get(args, "filter");if (filter != null) {UnicodeSet set = new UnicodeSet(filter);if (!set.isEmpty()) {set.freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}

// Translation:
public ICUNormalizer2CharFilterFactory(IDictionary<string, string> args): base(args){string name = Get(args, "name", "nfkc_cf");string mode = Get(args, "mode", new string[] { "compose", "decompose" }, "compose");Normalizer2 normalizer = Normalizer2.GetInstance(null, name, "compose".Equals(mode, StringComparison.Ordinal) ? Normalizer2Mode.Compose : Normalizer2Mode.Decompose);string filter = Get(args, "filter");if (filter != null){UnicodeSet set = new UnicodeSet(filter);if (set.Any()){set.Freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}
// Original:
public CreateAdditionalAssignmentsForHITResult createAdditionalAssignmentsForHIT(CreateAdditionalAssignmentsForHITRequest request) {request = beforeClientExecution(request);return executeCreateAdditionalAssignmentsForHIT(request);}

// Translation:
public virtual CreateAdditionalAssignmentsForHITResponse CreateAdditionalAssignmentsForHIT(CreateAdditionalAssignmentsForHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAdditionalAssignmentsForHITRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAdditionalAssignmentsForHITResponseUnmarshaller.Instance;return Invoke<CreateAdditionalAssignmentsForHITResponse>(request, options);}
// Original:
public DeleteEventRequest() {super("CloudPhoto", "2017-07-11", "DeleteEvent", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

// Translation:
public DeleteEventRequest(): base("CloudPhoto", "2017-07-11", "DeleteEvent", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public long getSize() {return size;}

// Translation:
public override long GetSize(){return size;}
// Original:
public void undeprecateWorkflowType(UndeprecateWorkflowTypeRequest request) {request = beforeClientExecution(request);executeUndeprecateWorkflowType(request);}

// Translation:
public virtual UndeprecateWorkflowTypeResponse UndeprecateWorkflowType(UndeprecateWorkflowTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = UndeprecateWorkflowTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = UndeprecateWorkflowTypeResponseUnmarshaller.Instance;return Invoke<UndeprecateWorkflowTypeResponse>(request, options);}