public static CreateSkillGroupResponse Unmarshall(UnmarshallerContext context) { CreateSkillGroupResponse createSkillGroupResponse = new CreateSkillGroupResponse(); createSkillGroupResponse.HttpResponse = context.HttpResponse; createSkillGroupResponse.RequestId = context.StringValue("CreateSkillGroup.RequestId"); createSkillGroupResponse.Success = context.BooleanValue("CreateSkillGroup.Success"); createSkillGroupResponse.Code = context.StringValue("CreateSkillGroup.Code"); createSkillGroupResponse.Message = context.StringValue("CreateSkillGroup.Message"); createSkillGroupResponse.HttpStatusCode = context.IntegerValue("CreateSkillGroup.HttpStatusCode"); createSkillGroupResponse.SkillGroupId = context.StringValue("CreateSkillGroup.SkillGroupId"); return(createSkillGroupResponse); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { CreateSkillGroupResponse response = new CreateSkillGroupResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("SkillGroupArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.SkillGroupArn = unmarshaller.Unmarshall(context); continue; } } return response; }
public static CreateSkillGroupResponse Unmarshall(UnmarshallerContext _ctx) { CreateSkillGroupResponse createSkillGroupResponse = new CreateSkillGroupResponse(); createSkillGroupResponse.HttpResponse = _ctx.HttpResponse; createSkillGroupResponse.Code = _ctx.StringValue("CreateSkillGroup.Code"); createSkillGroupResponse.HttpStatusCode = _ctx.IntegerValue("CreateSkillGroup.HttpStatusCode"); createSkillGroupResponse.Message = _ctx.StringValue("CreateSkillGroup.Message"); createSkillGroupResponse.RequestId = _ctx.StringValue("CreateSkillGroup.RequestId"); CreateSkillGroupResponse.CreateSkillGroup_Data data = new CreateSkillGroupResponse.CreateSkillGroup_Data(); data.Description = _ctx.StringValue("CreateSkillGroup.Data.Description"); data.InstanceId = _ctx.StringValue("CreateSkillGroup.Data.InstanceId"); data.Name = _ctx.StringValue("CreateSkillGroup.Data.Name"); data.SkillGroupId = _ctx.StringValue("CreateSkillGroup.Data.SkillGroupId"); createSkillGroupResponse.Data = data; return(createSkillGroupResponse); }