public static AddDomainResponse Unmarshall(UnmarshallerContext _ctx) { AddDomainResponse addDomainResponse = new AddDomainResponse(); addDomainResponse.HttpResponse = _ctx.HttpResponse; addDomainResponse.RequestId = _ctx.StringValue("AddDomain.RequestId"); addDomainResponse.DomainName = _ctx.StringValue("AddDomain.DomainName"); return(addDomainResponse); }
public static AddDomainResponse Unmarshall(UnmarshallerContext _ctx) { AddDomainResponse addDomainResponse = new AddDomainResponse(); addDomainResponse.HttpResponse = _ctx.HttpResponse; addDomainResponse.RequestId = _ctx.StringValue("AddDomain.RequestId"); addDomainResponse.DomainId = _ctx.StringValue("AddDomain.DomainId"); addDomainResponse.DomainName = _ctx.StringValue("AddDomain.DomainName"); addDomainResponse.PunyCode = _ctx.StringValue("AddDomain.PunyCode"); addDomainResponse.GroupId = _ctx.StringValue("AddDomain.GroupId"); addDomainResponse.GroupName = _ctx.StringValue("AddDomain.GroupName"); List <string> addDomainResponse_dnsServers = new List <string>(); for (int i = 0; i < _ctx.Length("AddDomain.DnsServers.Length"); i++) { addDomainResponse_dnsServers.Add(_ctx.StringValue("AddDomain.DnsServers[" + i + "]")); } addDomainResponse.DnsServers = addDomainResponse_dnsServers; return(addDomainResponse); }
public static AddDomainResponse Unmarshall(UnmarshallerContext context) { AddDomainResponse addDomainResponse = new AddDomainResponse { HttpResponse = context.HttpResponse, RequestId = context.StringValue("AddDomain.RequestId"), DomainId = context.StringValue("AddDomain.DomainId"), DomainName = context.StringValue("AddDomain.DomainName"), PunyCode = context.StringValue("AddDomain.PunyCode"), GroupId = context.StringValue("AddDomain.GroupId"), GroupName = context.StringValue("AddDomain.GroupName") }; List <string> dnsServers = new List <string>(); for (int i = 0; i < context.Length("AddDomain.DnsServers.Length"); i++) { dnsServers.Add(context.StringValue($"AddDomain.DnsServers[{i}]")); } addDomainResponse.DnsServers = dnsServers; return(addDomainResponse); }