aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobRequest.cs (148 lines of code) (raw):
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;
using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Mts.Transform;
using Aliyun.Acs.Mts.Transform.V20140618;
namespace Aliyun.Acs.Mts.Model.V20140618
{
public class SubmitTraceAbJobRequest : RpcAcsRequest<SubmitTraceAbJobResponse>
{
public SubmitTraceAbJobRequest()
: base("Mts", "2014-06-18", "SubmitTraceAbJob", "mts", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null);
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null);
}
Method = MethodType.POST;
}
private long? startTime;
private string output;
private string userData;
private string cipherBase64ed;
private long? level;
private string url;
private string input;
private long? totalTime;
private string callBack;
public long? StartTime
{
get
{
return startTime;
}
set
{
startTime = value;
DictionaryUtil.Add(QueryParameters, "StartTime", value.ToString());
}
}
public string Output
{
get
{
return output;
}
set
{
output = value;
DictionaryUtil.Add(QueryParameters, "Output", value);
}
}
public string UserData
{
get
{
return userData;
}
set
{
userData = value;
DictionaryUtil.Add(QueryParameters, "UserData", value);
}
}
public string CipherBase64ed
{
get
{
return cipherBase64ed;
}
set
{
cipherBase64ed = value;
DictionaryUtil.Add(QueryParameters, "CipherBase64ed", value);
}
}
public long? Level
{
get
{
return level;
}
set
{
level = value;
DictionaryUtil.Add(QueryParameters, "Level", value.ToString());
}
}
public string Url
{
get
{
return url;
}
set
{
url = value;
DictionaryUtil.Add(QueryParameters, "Url", value);
}
}
public string Input
{
get
{
return input;
}
set
{
input = value;
DictionaryUtil.Add(QueryParameters, "Input", value);
}
}
public long? TotalTime
{
get
{
return totalTime;
}
set
{
totalTime = value;
DictionaryUtil.Add(QueryParameters, "TotalTime", value.ToString());
}
}
public string CallBack
{
get
{
return callBack;
}
set
{
callBack = value;
DictionaryUtil.Add(QueryParameters, "CallBack", value);
}
}
public override bool CheckShowJsonItemName()
{
return false;
}
public override SubmitTraceAbJobResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return SubmitTraceAbJobResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}