public static CreateTagResponse Unmarshall(UnmarshallerContext context)
        {
            CreateTagResponse createTagResponse = new CreateTagResponse();

            createTagResponse.HttpResponse = context.HttpResponse;
            createTagResponse.RequestId    = context.StringValue("CreateTag.RequestId");

            return(createTagResponse);
        }
Esempio n. 2
0
        public static CreateTagResponse Unmarshall(UnmarshallerContext _ctx)
        {
            CreateTagResponse createTagResponse = new CreateTagResponse();

            createTagResponse.HttpResponse = _ctx.HttpResponse;
            createTagResponse.RequestId    = _ctx.StringValue("CreateTag.RequestId");
            createTagResponse.Data         = _ctx.StringValue("CreateTag.Data");

            return(createTagResponse);
        }
        public static CreateTagResponse Unmarshall(UnmarshallerContext _ctx)
        {
            CreateTagResponse createTagResponse = new CreateTagResponse();

            createTagResponse.HttpResponse   = _ctx.HttpResponse;
            createTagResponse.Code           = _ctx.StringValue("CreateTag.Code");
            createTagResponse.HttpStatusCode = _ctx.IntegerValue("CreateTag.HttpStatusCode");
            createTagResponse.Message        = _ctx.StringValue("CreateTag.Message");
            createTagResponse.RequestId      = _ctx.StringValue("CreateTag.RequestId");
            createTagResponse.Success        = _ctx.BooleanValue("CreateTag.Success");
            createTagResponse.TagId          = _ctx.StringValue("CreateTag.TagId");

            return(createTagResponse);
        }
        public static CreateTagResponse Unmarshall(UnmarshallerContext context)
        {
            CreateTagResponse createTagResponse = new CreateTagResponse();

            createTagResponse.HttpResponse = context.HttpResponse;
            createTagResponse.RequestId    = context.StringValue("CreateTag.RequestId");

            CreateTagResponse.CreateTag_Tag tag = new CreateTagResponse.CreateTag_Tag();
            tag.ProjectId         = context.StringValue("CreateTag.Tag.ProjectId");
            tag.TagId             = context.StringValue("CreateTag.Tag.TagId");
            tag.TagName           = context.StringValue("CreateTag.Tag.TagName");
            tag.Description       = context.StringValue("CreateTag.Tag.Description");
            tag.Count             = context.IntegerValue("CreateTag.Tag.Count");
            tag.CreationTime      = context.StringValue("CreateTag.Tag.CreationTime");
            createTagResponse.Tag = tag;

            return(createTagResponse);
        }
        public static CreateTagResponse Unmarshall(UnmarshallerContext context)
        {
            CreateTagResponse createTagResponse = new CreateTagResponse();

            createTagResponse.HttpResponse = context.HttpResponse;
            createTagResponse.RequestId    = context.StringValue("CreateTag.RequestId");
            createTagResponse.ErrorCode    = context.StringValue("CreateTag.ErrorCode");
            createTagResponse.Success      = context.BooleanValue("CreateTag.Success");
            createTagResponse.ErrorMessage = context.StringValue("CreateTag.ErrorMessage");

            CreateTagResponse.CreateTag_Result result = new CreateTagResponse.CreateTag_Result();
            result.Name    = context.StringValue("CreateTag.Result.Name");
            result.Message = context.StringValue("CreateTag.Result.Message");

            CreateTagResponse.CreateTag_Result.CreateTag_CommitInfo commitInfo = new CreateTagResponse.CreateTag_Result.CreateTag_CommitInfo();
            commitInfo.Id             = context.StringValue("CreateTag.Result.CommitInfo.Id");
            commitInfo.ShortId        = context.StringValue("CreateTag.Result.CommitInfo.ShortId");
            commitInfo.Title          = context.StringValue("CreateTag.Result.CommitInfo.Title");
            commitInfo.AuthorName     = context.StringValue("CreateTag.Result.CommitInfo.AuthorName");
            commitInfo.AuthorEmail    = context.StringValue("CreateTag.Result.CommitInfo.AuthorEmail");
            commitInfo.AuthoredDate   = context.StringValue("CreateTag.Result.CommitInfo.AuthoredDate");
            commitInfo.CommittedDate  = context.StringValue("CreateTag.Result.CommitInfo.CommittedDate");
            commitInfo.CommitterEmail = context.StringValue("CreateTag.Result.CommitInfo.CommitterEmail");
            commitInfo.CommitterName  = context.StringValue("CreateTag.Result.CommitInfo.CommitterName");
            commitInfo.CreatedAt      = context.StringValue("CreateTag.Result.CommitInfo.CreatedAt");
            commitInfo.Message        = context.StringValue("CreateTag.Result.CommitInfo.Message");

            List <string> commitInfo_parentIds = new List <string>();

            for (int i = 0; i < context.Length("CreateTag.Result.CommitInfo.ParentIds.Length"); i++)
            {
                commitInfo_parentIds.Add(context.StringValue("CreateTag.Result.CommitInfo.ParentIds[" + i + "]"));
            }
            commitInfo.ParentIds = commitInfo_parentIds;
            result.CommitInfo    = commitInfo;

            CreateTagResponse.CreateTag_Result.CreateTag_Release release = new CreateTagResponse.CreateTag_Result.CreateTag_Release();
            release.TagName          = context.StringValue("CreateTag.Result.Release.TagName");
            release.Description      = context.StringValue("CreateTag.Result.Release.Description");
            result.Release           = release;
            createTagResponse.Result = result;

            return(createTagResponse);
        }