yijunyu/c-to-rust huggingface dataset:
// Original:
public DescribeDeliveryStreamResult describeDeliveryStream(DescribeDeliveryStreamRequest request) {request = beforeClientExecution(request);return executeDescribeDeliveryStream(request);}

// Translation:
public virtual DescribeDeliveryStreamResponse DescribeDeliveryStream(DescribeDeliveryStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDeliveryStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDeliveryStreamResponseUnmarshaller.Instance;return Invoke<DescribeDeliveryStreamResponse>(request, options);}
// Original:
public boolean hasNext() {return link.next != list.voidLink;}

// Translation:
public bool hasNext(){return link.next != list.voidLink;}
// Original:
public static double product(double[] values) {double product = 0;if (values!=null && values.length > 0) {product = 1;for (double value : values) {product *= value;}}return product;}

// Translation:
public static double Product(double[] values){double product = 0;if (values != null && values.Length > 0){product = 1;for (int i = 0, iSize = values.Length; i < iSize; i++){product *= values[i];}}return product;}
// Original:
public RebaseCommand setUpstream(String upstream)throws RefNotFoundException {try {ObjectId upstreamId = repo.resolve(upstream);if (upstreamId == null)throw new RefNotFoundException(MessageFormat.format(JGitText.get().refNotResolved, upstream));upstreamCommit = walk.parseCommit(repo.resolve(upstream));upstreamCommitName = upstream;return this;} catch (IOException ioe) {throw new JGitInternalException(ioe.getMessage(), ioe);}}

// Translation:
public virtual NGit.Api.RebaseCommand SetUpstream(string upstream){try{ObjectId upstreamId = repo.Resolve(upstream);if (upstreamId == null){throw new RefNotFoundException(MessageFormat.Format(JGitText.Get().refNotResolved, upstream));}upstreamCommit = walk.ParseCommit(repo.Resolve(upstream));upstreamCommitName = upstream;return this;}catch (IOException ioe){throw new JGitInternalException(ioe.Message, ioe);}}
// Original:
public ATN(ATNType grammarType, int maxTokenType) {this.grammarType = grammarType;this.maxTokenType = maxTokenType;}

// Translation:
public ATN(ATNType grammarType, int maxTokenType){this.grammarType = grammarType;this.maxTokenType = maxTokenType;}
// Original:
public HyphenatedWordsFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public HyphenatedWordsFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public GetBlueprintsResult getBlueprints(GetBlueprintsRequest request) {request = beforeClientExecution(request);return executeGetBlueprints(request);}

// Translation:
public virtual GetBlueprintsResponse GetBlueprints(GetBlueprintsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBlueprintsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBlueprintsResponseUnmarshaller.Instance;return Invoke<GetBlueprintsResponse>(request, options);}
// Original:
public synchronized StringBuffer append(StringBuffer sb) {if (sb == null) {appendNull();} else {synchronized (sb) {append0(sb.getValue(), 0, sb.length());}}return this;}

// Translation:
public java.lang.StringBuffer append(string @string){lock (this){append0(@string);return this;}}
// Original:
public EngineDefaults describeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request) {request = beforeClientExecution(request);return executeDescribeEngineDefaultClusterParameters(request);}

// Translation:
public virtual DescribeEngineDefaultClusterParametersResponse DescribeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEngineDefaultClusterParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEngineDefaultClusterParametersResponseUnmarshaller.Instance;return Invoke<DescribeEngineDefaultClusterParametersResponse>(request, options);}
// Original:
public DeleteLaunchTemplateResult deleteLaunchTemplate(DeleteLaunchTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteLaunchTemplate(request);}

// Translation:
public virtual DeleteLaunchTemplateResponse DeleteLaunchTemplate(DeleteLaunchTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLaunchTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLaunchTemplateResponseUnmarshaller.Instance;return Invoke<DeleteLaunchTemplateResponse>(request, options);}
// Original:
public Object toObject() {assert exists || (false == value);return exists ? value : null;}

// Translation:
public override object ToObject(){return Exists ? (object)Value : null;}
// Original:
public ObjectReader newObjectReader() {return getObjectDatabase().newReader();}

// Translation:
public virtual ObjectReader NewObjectReader(){return ObjectDatabase.NewReader();}
// Original:
public String toString() {String nl = System.getProperty("line.separtor");StringBuilder result = new StringBuilder();result.append('[').append(getRecordName()).append(']').append(nl);for (EscherRecord escherRecord : getEscherRecords()) {result.append(escherRecord);}result.append("[/").append(getRecordName()).append(']').append(nl);return result.toString();}

// Translation:
public override String ToString(){String nl = Environment.NewLine;StringBuilder result = new StringBuilder();result.Append('[').Append(RecordName).Append(']' + nl);for (IEnumerator iterator = EscherRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord escherRecord = (EscherRecord)iterator.Current;result.Append(escherRecord.ToString() + nl);}result.Append("[/").Append(RecordName).Append(']' + nl);return result.ToString();}
// Original:
public GetSnapshotBlockResult getSnapshotBlock(GetSnapshotBlockRequest request) {request = beforeClientExecution(request);return executeGetSnapshotBlock(request);}

// Translation:
public virtual GetSnapshotBlockResponse GetSnapshotBlock(GetSnapshotBlockRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSnapshotBlockRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSnapshotBlockResponseUnmarshaller.Instance;return Invoke<GetSnapshotBlockResponse>(request, options);}
// Original:
public HSSFComment createComment(HSSFAnchor anchor) {HSSFComment shape = new HSSFComment(null, anchor);addShape(shape);onCreate(shape);return shape;}

// Translation:
public HSSFComment CreateComment(HSSFAnchor anchor){HSSFComment shape = new HSSFComment(null, anchor);AddShape(shape);OnCreate(shape);return shape;}
// Original:
public CopySnapshotResult copySnapshot(CopySnapshotRequest request) {request = beforeClientExecution(request);return executeCopySnapshot(request);}

// Translation:
public virtual CopySnapshotResponse CopySnapshot(CopySnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopySnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CopySnapshotResponseUnmarshaller.Instance;return Invoke<CopySnapshotResponse>(request, options);}
// Original:
public String toString() {return "<quotedfield start='" + this.begin + "' end='" + this.end+ "' field='" + this.field + "' term='" + this.text + "'/>";}

// Translation:
public override string ToString(){return "<quotedfield start='" + this.m_begin + "' end='" + this.m_end+ "' field='" + this.m_field + "' term='" + this.m_text + "'/>";}
// Original:
public void write(int b) throws IOException {throw new IllegalStateException(JGitText.get().writingNotPermitted);}

// Translation:
public override void Write(int b){throw new InvalidOperationException(JGitText.Get().writingNotPermitted);}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {try {String needle = TextFunction.evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.evaluateStringArg(arg1, srcRowIndex, srcColumnIndex);return eval(haystack, needle, 0);} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){try{String needle = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.EvaluateStringArg(arg1, srcRowIndex, srcColumnIndex);return Eval(haystack, needle, 0);}catch (EvaluationException e){return e.GetErrorEval();}}
// Original:
public NumberMatcher(double value, CmpOp operator) {super(operator);_value = value;}

// Translation:
public NumberMatcher(double value, CmpOp optr): base(optr){_value = value;}
// Original:
public GroupingSearch setCachingInMB(double maxCacheRAMMB, boolean cacheScores) {this.maxCacheRAMMB = maxCacheRAMMB;this.maxDocsToCache = null;this.cacheScores = cacheScores;return this;}

// Translation:
public virtual GroupingSearch SetCachingInMB(double maxCacheRAMMB, bool cacheScores){this.maxCacheRAMMB = maxCacheRAMMB;this.maxDocsToCache = null;this.cacheScores = cacheScores;return this;}
// Original:
public DescribeRegionsResult describeRegions(DescribeRegionsRequest request) {request = beforeClientExecution(request);return executeDescribeRegions(request);}

// Translation:
public virtual DescribeRegionsResponse DescribeRegions(DescribeRegionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeRegionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeRegionsResponseUnmarshaller.Instance;return Invoke<DescribeRegionsResponse>(request, options);}
// Original:
public ListApplicationRevisionsResult listApplicationRevisions(ListApplicationRevisionsRequest request) {request = beforeClientExecution(request);return executeListApplicationRevisions(request);}

// Translation:
public virtual ListApplicationRevisionsResponse ListApplicationRevisions(ListApplicationRevisionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListApplicationRevisionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListApplicationRevisionsResponseUnmarshaller.Instance;return Invoke<ListApplicationRevisionsResponse>(request, options);}
// Original:
public int set(int index, long[] arr, int off, int len) {long max = 0;for (int i = off, end = off + len; i < end; ++i) {max |= arr[i];}ensureCapacity(max);return current.set(index, arr, off, len);}

// Translation:
public override int Set(int index, long[] arr, int off, int len){long max = 0;for (int i = off, end = off + len; i < end; ++i){max |= arr[i];}EnsureCapacity(max);return current.Set(index, arr, off, len);}
// Original:
public MutableValue duplicate() {MutableValueDate v = new MutableValueDate();v.value = this.value;v.exists = this.exists;return v;}

// Translation:
public override MutableValue Duplicate(){MutableValueDate v = new MutableValueDate();v.Value = this.Value;v.Exists = this.Exists;return v;}
// Original:
public DeleteUserResult deleteUser(DeleteUserRequest request) {request = beforeClientExecution(request);return executeDeleteUser(request);}

// Translation:
public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteUserRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance;return Invoke<DeleteUserResponse>(request, options);}
// Original:
public String getPath() {return path;}

// Translation:
public string getPath(){return path;}
// Original:
public ListVerifiedEmailAddressesResult listVerifiedEmailAddresses() {return listVerifiedEmailAddresses(new ListVerifiedEmailAddressesRequest());}

// Translation:
public virtual ListVerifiedEmailAddressesResponse ListVerifiedEmailAddresses(){return ListVerifiedEmailAddresses(new ListVerifiedEmailAddressesRequest());}
// Original:
public DescribeStackResourceResult describeStackResource(DescribeStackResourceRequest request) {request = beforeClientExecution(request);return executeDescribeStackResource(request);}

// Translation:
public virtual DescribeStackResourceResponse DescribeStackResource(DescribeStackResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStackResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStackResourceResponseUnmarshaller.Instance;return Invoke<DescribeStackResourceResponse>(request, options);}
// Original:
public MetricsTagPredicate(Tag tag) {this.tag = tag;}

// Translation:
public MetricsTagPredicate(Tag tag){this.tag = tag;}
// Original:
public void remove() {if (last == null) {throw new IllegalStateException();}removeInternal(last);expectedModCount = modCount;last = null;}

// Translation:
public virtual void remove(){if (this.last == null){throw new System.InvalidOperationException();}this._enclosing.removeInternal(this.last);this.expectedModCount = this._enclosing.modCount;this.last = null;}
// Original:
public void setExecutor(Executor executor) {this.executor = executor;}

// Translation:
public virtual void SetExecutor(Executor executor){this.executor = executor;}
// Original:
public boolean hasDirectoryEntry() {EmbeddedObjectRefSubRecord subRecord = findObjectRecord();Integer streamId = subRecord.getStreamId();return streamId != null && streamId.intValue() != 0;}

// Translation:
public bool HasDirectoryEntry(){EmbeddedObjectRefSubRecord subRecord = FindObjectRecord();int? streamId = subRecord.StreamId;return streamId != null && streamId != 0;}
// Original:
public K higherKey(K key) {Entry<K, V> entry = findBounded(key, HIGHER);return entry != null ? entry.getKey() : null;}

// Translation:
public K higherKey(K key){java.util.MapClass.Entry<K, V> entry = this.findBounded(key, java.util.TreeMap.Relation.HIGHER);return entry != null ? entry.getKey() : default(K);}
// Original:
public void exitRule() {if ( matchedEOF ) {_ctx.stop = _input.LT(1); }else {_ctx.stop = _input.LT(-1); }if ( _parseListeners != null) triggerExitRuleEvent();setState(_ctx.invokingState);_ctx = (ParserRuleContext)_ctx.parent;}

// Translation:
public virtual void ExitRule(){_ctx.Stop = _input.LT(-1);if (_parseListeners != null){TriggerExitRuleEvent();}State = _ctx.invokingState;_ctx = (ParserRuleContext)_ctx.Parent;}
// Original:
public DeleteTrafficPolicyInstanceResult deleteTrafficPolicyInstance(DeleteTrafficPolicyInstanceRequest request) {request = beforeClientExecution(request);return executeDeleteTrafficPolicyInstance(request);}

// Translation:
public virtual DeleteTrafficPolicyInstanceResponse DeleteTrafficPolicyInstance(DeleteTrafficPolicyInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTrafficPolicyInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTrafficPolicyInstanceResponseUnmarshaller.Instance;return Invoke<DeleteTrafficPolicyInstanceResponse>(request, options);}
// Original:
public boolean check(final int level) {int currentLevel;try {currentLevel = Integer.parseInt(System.getProperty("poi.log.level", WARN + ""));} catch (SecurityException e) {currentLevel = POILogger.DEBUG;}return level >= currentLevel;}

// Translation:
public override bool Check(int level){int currentLevel;try{var temp = WARN.ToString(CultureInfo.InvariantCulture);currentLevel = int.Parse(temp, CultureInfo.InvariantCulture);}catch (Exception){currentLevel = POILogger.DEBUG;}if (level >= currentLevel){return true;}return false;}
// Original:
public ShortBuffer put(short c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

// Translation:
public override java.nio.ShortBuffer put(short c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}
// Original:
public DeletePublicKeyResult deletePublicKey(DeletePublicKeyRequest request) {request = beforeClientExecution(request);return executeDeletePublicKey(request);}

// Translation:
public virtual DeletePublicKeyResponse DeletePublicKey(DeletePublicKeyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePublicKeyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePublicKeyResponseUnmarshaller.Instance;return Invoke<DeletePublicKeyResponse>(request, options);}
// Original:
public ObjectId idFor(int type, byte[] data) {return delegate().idFor(type, data);}

// Translation:
public override ObjectId IdFor(int type, byte[] data){return Delegate().IdFor(type, data);}
// Original:
public DeleteDBProxyResult deleteDBProxy(DeleteDBProxyRequest request) {request = beforeClientExecution(request);return executeDeleteDBProxy(request);}

// Translation:
public virtual DeleteDBProxyResponse DeleteDBProxy(DeleteDBProxyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDBProxyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDBProxyResponseUnmarshaller.Instance;return Invoke<DeleteDBProxyResponse>(request, options);}
// Original:
public void add(int n) {if (count == entries.length)grow();entries[count++] = n;}

// Translation:
public virtual void Add(int n){if (count == entries.Length){Grow();}entries[count++] = n;}
// Original:
public PortugueseStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public PortugueseStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public DisconnectParticipantResult disconnectParticipant(DisconnectParticipantRequest request) {request = beforeClientExecution(request);return executeDisconnectParticipant(request);}

// Translation:
public virtual DisconnectParticipantResponse DisconnectParticipant(DisconnectParticipantRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisconnectParticipantRequestMarshaller.Instance;options.ResponseUnmarshaller = DisconnectParticipantResponseUnmarshaller.Instance;return Invoke<DisconnectParticipantResponse>(request, options);}
// Original:
public ObjectId getPeeledObjectId() {return null;}

// Translation:
public override ObjectId GetPeeledObjectId(){return null;}
// Original:
public DeleteParameterGroupResult deleteParameterGroup(DeleteParameterGroupRequest request) {request = beforeClientExecution(request);return executeDeleteParameterGroup(request);}

// Translation:
public virtual DeleteParameterGroupResponse DeleteParameterGroup(DeleteParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteParameterGroupResponseUnmarshaller.Instance;return Invoke<DeleteParameterGroupResponse>(request, options);}
// Original:
public TextRecord(RecordInputStream in) {field_1_horizontalAlignment = in.readByte();field_2_verticalAlignment   = in.readByte();field_3_displayMode         = in.readShort();field_4_rgbColor            = in.readInt();field_5_x                   = in.readInt();field_6_y                   = in.readInt();field_7_width               = in.readInt();field_8_height              = in.readInt();field_9_options1            = in.readShort();field_10_indexOfColorValue  = in.readShort();field_11_options2           = in.readShort();field_12_textRotation       = in.readShort();}

// Translation:
public TextRecord(RecordInputStream in1){field_1_horizontalAlignment = (byte)in1.ReadByte();field_2_verticalAlignment = (byte)in1.ReadByte();field_3_DisplayMode = in1.ReadShort();field_4_rgbColor = in1.ReadInt();field_5_x = in1.ReadInt();field_6_y = in1.ReadInt();field_7_width = in1.ReadInt();field_8_height = in1.ReadInt();field_9_options1 = in1.ReadShort();field_10_IndexOfColorValue = in1.ReadShort();field_11_options2 = in1.ReadShort();field_12_textRotation = in1.ReadShort();}
// Original:
public ReflogCommand setRef(String ref) {checkCallable();this.ref = ref;return this;}

// Translation:
public virtual NGit.Api.ReflogCommand SetRef(string @ref){CheckCallable();this.@ref = @ref;return this;}
// Original:
@Override public boolean contains(Object object) {Object[] a = array;int s = size;if (object != null) {for (int i = 0; i < s; i++) {if (object.equals(a[i])) {return true;}}} else {for (int i = 0; i < s; i++) {if (a[i] == null) {return true;}}}return false;}

// Translation:
public override bool contains(object @object){if (@object != null){foreach (E element in a){if (@object.Equals(element)){return true;}}}else{foreach (E element in a){if ((object)element == null){return true;}}}return false;}
// Original:
public CreateFpgaImageResult createFpgaImage(CreateFpgaImageRequest request) {request = beforeClientExecution(request);return executeCreateFpgaImage(request);}

// Translation:
public virtual CreateFpgaImageResponse CreateFpgaImage(CreateFpgaImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFpgaImageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFpgaImageResponseUnmarshaller.Instance;return Invoke<CreateFpgaImageResponse>(request, options);}
// Original:
public DescribeAggregateIdFormatResult describeAggregateIdFormat(DescribeAggregateIdFormatRequest request) {request = beforeClientExecution(request);return executeDescribeAggregateIdFormat(request);}

// Translation:
public virtual DescribeAggregateIdFormatResponse DescribeAggregateIdFormat(DescribeAggregateIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAggregateIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAggregateIdFormatResponseUnmarshaller.Instance;return Invoke<DescribeAggregateIdFormatResponse>(request, options);}
// Original:
public ListMultipartUploadsRequest(String vaultName) {setVaultName(vaultName);}

// Translation:
public ListMultipartUploadsRequest(string vaultName){_vaultName = vaultName;}
// Original:
public DeleteRepoRequest() {super("cr", "2016-06-07", "DeleteRepo", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]");setMethod(MethodType.DELETE);}

// Translation:
public DeleteRepoRequest(): base("cr", "2016-06-07", "DeleteRepo", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]";Method = MethodType.DELETE;}
// Original:
public static BOFRecord createSheetBOF() {return new BOFRecord(TYPE_WORKSHEET);}

// Translation:
public static BOFRecord CreateSheetBOF(){return new BOFRecord(BOFRecordType.Worksheet);}
// Original:
public FloatBuffer put(float[] src, int srcOffset, int floatCount) {byteBuffer.limit(limit * SizeOf.FLOAT);byteBuffer.position(position * SizeOf.FLOAT);if (byteBuffer instanceof ReadWriteDirectByteBuffer) {((ReadWriteDirectByteBuffer) byteBuffer).put(src, srcOffset, floatCount);} else {((ReadWriteHeapByteBuffer) byteBuffer).put(src, srcOffset, floatCount);}this.position += floatCount;return this;}

// Translation:
public override java.nio.FloatBuffer put(float[] src, int srcOffset, int floatCount){byteBuffer.limit(_limit * libcore.io.SizeOf.FLOAT);byteBuffer.position(_position * libcore.io.SizeOf.FLOAT);if (byteBuffer is java.nio.ReadWriteDirectByteBuffer){((java.nio.ReadWriteDirectByteBuffer)byteBuffer).put(src, srcOffset, floatCount);}else{((java.nio.ReadWriteHeapByteBuffer)byteBuffer).put(src, srcOffset, floatCount);}this._position += floatCount;return this;}
// Original:
public void execute(Lexer lexer) {lexer.popMode();}

// Translation:
public void Execute(Lexer lexer){lexer.PopMode();}
// Original:
public DeleteImageRequest() {super("cr", "2016-06-07", "DeleteImage", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]");setMethod(MethodType.DELETE);}

// Translation:
public DeleteImageRequest(): base("vod", "2017-03-21", "DeleteImage"){if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null){this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Endpoint.endpointMap, null);this.GetType().GetProperty("ProductEndpointType").SetValue(this, Endpoint.endpointRegionalType, null);}}