Add min_access_level and organization_alis fields.

This commit is contained in:
sdk-team
2024-03-28 09:05:03 +00:00
parent fc0ca83c5e
commit 46f59d340b
897 changed files with 76885 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_DEVOPSEXPORT_H_
#define ALIBABACLOUD_DEVOPS_DEVOPSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DEVOPS_LIBRARY)
# define ALIBABACLOUD_DEVOPS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DEVOPS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DEVOPS_EXPORT
#endif
#endif // !ALIBABACLOUD_DEVOPS_DEVOPSEXPORT_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT AddGroupMemberRequest : public RoaServiceRequest {
public:
struct Body {
int accessLevel;
std::string aliyunPks;
};
AddGroupMemberRequest();
~AddGroupMemberRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getGroupId() const;
void setGroupId(long groupId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long groupId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT AddGroupMemberResult : public ServiceResult
{
public:
struct ResultItem
{
std::string avatarUrl;
std::string email;
std::string username;
std::string externUid;
std::string state;
long sourceId;
long id;
int accessLevel;
std::string name;
};
AddGroupMemberResult();
explicit AddGroupMemberResult(const std::string &payload);
~AddGroupMemberResult();
std::vector<ResultItem> getresult()const;
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDGROUPMEMBERRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT AddPipelineRelationsRequest : public RoaServiceRequest {
public:
AddPipelineRelationsRequest();
~AddPipelineRelationsRequest();
std::string getRelObjectType() const;
void setRelObjectType(const std::string &relObjectType);
std::string getRelObjectIds() const;
void setRelObjectIds(const std::string &relObjectIds);
long getPipelineId() const;
void setPipelineId(long pipelineId);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
std::string relObjectType_;
std::string relObjectIds_;
long pipelineId_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT AddPipelineRelationsResult : public ServiceResult
{
public:
AddPipelineRelationsResult();
explicit AddPipelineRelationsResult(const std::string &payload);
~AddPipelineRelationsResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDPIPELINERELATIONSRESULT_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT AddRepositoryMemberRequest : public RoaServiceRequest {
public:
struct Body {
int accessLevel;
std::string aliyunPks;
};
AddRepositoryMemberRequest();
~AddRepositoryMemberRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT AddRepositoryMemberResult : public ServiceResult
{
public:
struct ResultItem
{
std::string email;
std::string avatarUrl;
std::string state;
std::string externUserId;
long id;
int accessLevel;
};
AddRepositoryMemberResult();
explicit AddRepositoryMemberResult(const std::string &payload);
~AddRepositoryMemberResult();
std::vector<ResultItem> getresult()const;
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDREPOSITORYMEMBERRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT AddWebhookRequest : public RoaServiceRequest {
public:
AddWebhookRequest();
~AddWebhookRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
std::string getBody() const;
void setBody(const std::string &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
std::string body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT AddWebhookResult : public ServiceResult
{
public:
struct Result
{
std::string description;
std::string lastTestResult;
bool pushEvents;
std::string createdAt;
bool tagPushEvents;
long id;
bool enableSslVerification;
bool noteEvents;
long repositoryId;
bool mergeRequestsEvents;
std::string url;
std::string secretToken;
};
AddWebhookResult();
explicit AddWebhookResult(const std::string &payload);
~AddWebhookResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_ADDWEBHOOKRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CloseMergeRequestRequest : public RoaServiceRequest {
public:
CloseMergeRequestRequest();
~CloseMergeRequestRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
long getLocalId() const;
void setLocalId(long localId);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
long localId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CloseMergeRequestResult : public ServiceResult
{
public:
struct Result
{
bool result;
};
CloseMergeRequestResult();
explicit CloseMergeRequestResult(const std::string &payload);
~CloseMergeRequestResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CLOSEMERGEREQUESTRESULT_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateAppMembersRequest : public RoaServiceRequest {
public:
struct Body {
std::string string;
std::vector<std::string> roleNames;
struct PlayerListItem {
std::string id;
std::string type;
};
playerListItem playerListItem;
std::vector<playerListItem> playerList;
};
CreateAppMembersRequest();
~CreateAppMembersRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAppName() const;
void setAppName(const std::string &appName);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string appName_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateAppMembersResult : public ServiceResult
{
public:
CreateAppMembersResult();
explicit CreateAppMembersResult(const std::string &payload);
~CreateAppMembersResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEAPPMEMBERSRESULT_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateBranchRequest : public RoaServiceRequest {
public:
struct Body {
std::string ref;
std::string branchName;
};
CreateBranchRequest();
~CreateBranchRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryId() const;
void setRepositoryId(const std::string &repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateBranchResult : public ServiceResult
{
public:
struct Result
{
struct Commit
{
std::string authoredDate;
std::string authorName;
std::string message;
std::string committedDate;
std::string committerEmail;
std::vector<std::string> parentIds;
std::string createdAt;
std::string shortId;
std::string title;
std::string id;
std::string authorEmail;
std::string committerName;
};
bool _protected;
Commit commit;
std::string name;
};
CreateBranchResult();
explicit CreateBranchResult(const std::string &payload);
~CreateBranchResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEBRANCHRESULT_H_

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateCheckRunRequest : public RoaServiceRequest {
public:
struct Body {
std::string conclusion;
struct Output {
std::string summary;
struct ImagesItem {
std::string imageUrl;
std::string alt;
std::string caption;
};
imagesItem imagesItem;
std::vector<imagesItem> images;
std::string text;
std::string title;
};
output output;
std::string completedAt;
std::string detailsUrl;
std::string name;
std::string startedAt;
std::string externalId;
struct AnnotationsItem {
std::string path;
long endLine;
long startColumn;
std::string annotationLevel;
long startLine;
std::string message;
std::string title;
std::string rawDetails;
long endColumn;
};
annotationsItem annotationsItem;
std::vector<annotationsItem> annotations;
std::string headSha;
std::string status;
};
CreateCheckRunRequest();
~CreateCheckRunRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryIdentity() const;
void setRepositoryIdentity(const std::string &repositoryIdentity);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string repositoryIdentity_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNREQUEST_H_

View File

@@ -0,0 +1,115 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateCheckRunResult : public ServiceResult
{
public:
struct Result
{
struct CheckSuite
{
long id;
};
struct Writer
{
std::string type;
std::string logoUrl;
std::string id;
std::string slug;
std::string name;
};
struct Output
{
struct Output_images
{
std::string alt;
std::string imageUrl;
std::string caption;
};
std::vector<Output_images> images;
std::string title;
std::string summary;
std::string text;
};
struct Check_run_annotations
{
std::string path;
long startLine;
std::string message;
std::string annotationLevel;
long endLine;
long endColumn;
std::string title;
long id;
std::string rawDetails;
long startColumn;
};
std::string status;
std::string createdAt;
std::string externalId;
std::vector<Check_run_annotations> annotations;
std::string updatedAt;
std::string name;
std::string headSha;
CheckSuite checkSuite;
Output output;
std::string detailsUrl;
std::string completedAt;
long id;
std::string startedAt;
Writer writer;
std::string conclusion;
};
CreateCheckRunResult();
explicit CreateCheckRunResult(const std::string &payload);
~CreateCheckRunResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECHECKRUNRESULT_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommentRequest : public RoaServiceRequest {
public:
struct Body {
int lineNumber;
std::string filePath;
bool draft;
std::string patchSetBizId;
std::string commentType;
std::string parentCommentBizId;
std::string content;
bool resolved;
};
CreateCommentRequest();
~CreateCommentRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryIdentity() const;
void setRepositoryIdentity(const std::string &repositoryIdentity);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
long getLocalId() const;
void setLocalId(long localId);
private:
std::string organizationId_;
std::string repositoryIdentity_;
std::string accessToken_;
body body_;
long localId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTREQUEST_H_

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommentResult : public ServiceResult
{
public:
struct Result
{
struct Author
{
std::string avatarUrl;
std::string email;
std::string aliyunPk;
std::string username;
std::string state;
long id;
std::string name;
};
struct RelatedPatchSet
{
std::string patchSetNo;
std::string commitId;
std::string patchSetBizId;
std::string createdAt;
std::string shortId;
std::string relatedMergeItemType;
std::string patchSetName;
};
RelatedPatchSet relatedPatchSet;
std::string filePath;
std::string parentCommentBizId;
std::string commentTime;
std::string lineNumber;
std::string rootCommentBizId;
std::string lastEditTime;
std::string commentType;
std::string commentBizId;
std::string state;
std::string content;
Author author;
bool resolved;
bool deleted;
};
CreateCommentResult();
explicit CreateCommentResult(const std::string &payload);
~CreateCommentResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMENTRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommitStatusRequest : public RoaServiceRequest {
public:
struct Body {
std::string context;
std::string description;
std::string state;
std::string targetUrl;
};
CreateCommitStatusRequest();
~CreateCommitStatusRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryIdentity() const;
void setRepositoryIdentity(const std::string &repositoryIdentity);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
std::string getSha() const;
void setSha(const std::string &sha);
private:
std::string organizationId_;
std::string repositoryIdentity_;
std::string accessToken_;
body body_;
std::string sha_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommitStatusResult : public ServiceResult
{
public:
struct Result
{
struct Creator
{
std::string type;
std::string avatarUrl;
long aliyunPk;
std::string login;
};
std::string context;
std::string description;
std::string state;
Creator creator;
long id;
std::string targetUrl;
std::string sha;
};
CreateCommitStatusResult();
explicit CreateCommitStatusResult(const std::string &payload);
~CreateCommitStatusResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITSTATUSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommitWithMultipleFilesRequest : public RoaServiceRequest {
public:
struct Body {
std::string commitMessage;
std::string branch;
struct ActionsItem {
std::string filePath;
std::string action;
std::string content;
std::string previousPath;
};
actionsItem actionsItem;
std::vector<actionsItem> actions;
};
CreateCommitWithMultipleFilesRequest();
~CreateCommitWithMultipleFilesRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryIdentity() const;
void setRepositoryIdentity(const std::string &repositoryIdentity);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string repositoryIdentity_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESREQUEST_H_

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateCommitWithMultipleFilesResult : public ServiceResult
{
public:
struct Result
{
struct Author
{
std::string email;
std::string avatarUrl;
std::string aliyunPk;
std::string username;
std::string state;
std::string websiteUrl;
long id;
std::string name;
};
struct Committer
{
std::string email;
std::string avatarUrl;
std::string aliyunPk;
std::string username;
std::string state;
std::string websiteUrl;
long id;
std::string name;
};
std::string authoredDate;
std::string message;
std::string authorName;
std::string createdAt;
std::string title;
std::string authorEmail;
std::string committerEmail;
std::string committedDate;
std::vector<std::string> parentIds;
Author author;
std::string shortId;
Committer committer;
std::string id;
std::string committerName;
};
CreateCommitWithMultipleFilesResult();
explicit CreateCommitWithMultipleFilesResult(const std::string &payload);
~CreateCommitWithMultipleFilesResult();
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATECOMMITWITHMULTIPLEFILESRESULT_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateDeployKeyRequest : public RoaServiceRequest {
public:
struct Body {
std::string title;
std::string key;
};
CreateDeployKeyRequest();
~CreateDeployKeyRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateDeployKeyResult : public ServiceResult
{
public:
struct Result
{
std::string fingerprint;
std::string createdAt;
std::string title;
long id;
std::string key;
};
CreateDeployKeyResult();
explicit CreateDeployKeyResult(const std::string &payload);
~CreateDeployKeyResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEDEPLOYKEYRESULT_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFILEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFILEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateFileRequest : public RoaServiceRequest {
public:
struct Body {
std::string filePath;
std::string encoding;
std::string commitMessage;
std::string content;
std::string branchName;
};
CreateFileRequest();
~CreateFileRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFILEREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFILERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateFileResult : public ServiceResult
{
public:
struct Result
{
std::string filePath;
std::string branchName;
};
CreateFileResult();
explicit CreateFileResult(const std::string &payload);
~CreateFileResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFILERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateFlowTagGroupRequest : public RoaServiceRequest {
public:
CreateFlowTagGroupRequest();
~CreateFlowTagGroupRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string organizationId_;
std::string name_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateFlowTagGroupResult : public ServiceResult
{
public:
CreateFlowTagGroupResult();
explicit CreateFlowTagGroupResult(const std::string &payload);
~CreateFlowTagGroupResult();
std::string getRequestId()const;
std::string getErrorCode()const;
long getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
long id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGGROUPRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateFlowTagRequest : public RoaServiceRequest {
public:
CreateFlowTagRequest();
~CreateFlowTagRequest();
std::string getColor() const;
void setColor(const std::string &color);
long getFlowTagGroupId() const;
void setFlowTagGroupId(long flowTagGroupId);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string color_;
long flowTagGroupId_;
std::string organizationId_;
std::string name_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateFlowTagResult : public ServiceResult
{
public:
CreateFlowTagResult();
explicit CreateFlowTagResult(const std::string &payload);
~CreateFlowTagResult();
std::string getRequestId()const;
std::string getErrorCode()const;
long getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
long id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEFLOWTAGRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateHostGroupRequest : public RoaServiceRequest {
public:
CreateHostGroupRequest();
~CreateHostGroupRequest();
long getServiceConnectionId() const;
void setServiceConnectionId(long serviceConnectionId);
std::string getMachineInfos() const;
void setMachineInfos(const std::string &machineInfos);
std::string getTagIds() const;
void setTagIds(const std::string &tagIds);
std::string getAliyunRegion() const;
void setAliyunRegion(const std::string &aliyunRegion);
std::string getEnvId() const;
void setEnvId(const std::string &envId);
std::string getType() const;
void setType(const std::string &type);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getEcsLabelKey() const;
void setEcsLabelKey(const std::string &ecsLabelKey);
std::string getName() const;
void setName(const std::string &name);
std::string getEcsLabelValue() const;
void setEcsLabelValue(const std::string &ecsLabelValue);
std::string getEcsType() const;
void setEcsType(const std::string &ecsType);
private:
long serviceConnectionId_;
std::string machineInfos_;
std::string tagIds_;
std::string aliyunRegion_;
std::string envId_;
std::string type_;
std::string organizationId_;
std::string ecsLabelKey_;
std::string name_;
std::string ecsLabelValue_;
std::string ecsType_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateHostGroupResult : public ServiceResult
{
public:
CreateHostGroupResult();
explicit CreateHostGroupResult(const std::string &payload);
~CreateHostGroupResult();
std::string getRequestId()const;
long getHostGroupId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
long hostGroupId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEHOSTGROUPRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateMergeRequestRequest : public RoaServiceRequest {
public:
struct Body {
long targetProjectId;
std::string string;
std::vector<std::string> reviewerIds;
std::string createFrom;
long sourceProjectId;
std::string sourceBranch;
std::string workItemIds;
std::string description;
std::string title;
std::string targetBranch;
};
CreateMergeRequestRequest();
~CreateMergeRequestRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateMergeRequestResult : public ServiceResult
{
public:
struct Result
{
struct Author
{
std::string avatarUrl;
std::string email;
std::string username;
std::string state;
long id;
std::string name;
};
struct ReviewersItem
{
std::string avatarUrl;
std::string email;
std::string username;
std::string state;
long id;
bool hasReviewed;
std::string reviewOpinionStatus;
std::string name;
};
struct SubscribersItem
{
std::string avatarUrl;
std::string email;
std::string username;
std::string state;
long id;
std::string name;
};
std::string status;
long localId;
std::string description;
int ahead;
int behind;
std::vector<SubscribersItem> subscribers;
std::string createTime;
long projectId;
std::string title;
std::string detailUrl;
std::string webUrl;
bool allRequirementsPass;
long sourceProjectId;
std::string mrType;
bool supportMergeFastForwardOnly;
std::vector<ReviewersItem> reviewers;
std::string createFrom;
std::string mrBizId;
std::string sourceBranch;
std::string updateTime;
Author author;
long targetProjectId;
std::string targetBranch;
};
CreateMergeRequestResult();
explicit CreateMergeRequestResult(const std::string &payload);
~CreateMergeRequestResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEMERGEREQUESTRESULT_H_

View File

@@ -0,0 +1,50 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateOAuthTokenRequest : public RoaServiceRequest {
public:
struct Body {
std::string clientId;
std::string code;
std::string clientSecret;
std::string scope;
std::string login;
std::string grantType;
};
CreateOAuthTokenRequest();
~CreateOAuthTokenRequest();
body getBody() const;
void setBody(const body &body);
private:
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateOAuthTokenResult : public ServiceResult
{
public:
struct Result
{
std::string tokenType;
std::string scope;
std::string accessToken;
std::string id;
};
CreateOAuthTokenResult();
explicit CreateOAuthTokenResult(const std::string &payload);
~CreateOAuthTokenResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
std::string getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
std::string success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEOAUTHTOKENRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreatePipelineGroupRequest : public RoaServiceRequest {
public:
CreatePipelineGroupRequest();
~CreatePipelineGroupRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string organizationId_;
std::string name_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreatePipelineGroupResult : public ServiceResult
{
public:
struct PipelineGroup
{
long id;
std::string name;
};
CreatePipelineGroupResult();
explicit CreatePipelineGroupResult(const std::string &payload);
~CreatePipelineGroupResult();
std::string getRequestId()const;
PipelineGroup getPipelineGroup()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
PipelineGroup pipelineGroup_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEGROUPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreatePipelineRequest : public RoaServiceRequest {
public:
CreatePipelineRequest();
~CreatePipelineRequest();
std::string getContent() const;
void setContent(const std::string &content);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string content_;
std::string organizationId_;
std::string name_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreatePipelineResult : public ServiceResult
{
public:
CreatePipelineResult();
explicit CreatePipelineResult(const std::string &payload);
~CreatePipelineResult();
std::string getRequestId()const;
long getPipelinId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
long pipelinId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPIPELINERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateProjectLabelRequest : public RoaServiceRequest {
public:
struct Body {
std::string color;
std::string name;
std::string description;
};
CreateProjectLabelRequest();
~CreateProjectLabelRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getRepositoryIdentity() const;
void setRepositoryIdentity(const std::string &repositoryIdentity);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string repositoryIdentity_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateProjectLabelResult : public ServiceResult
{
public:
struct Result
{
std::string description;
std::string color;
std::string id;
std::string name;
};
CreateProjectLabelResult();
explicit CreateProjectLabelResult(const std::string &payload);
~CreateProjectLabelResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTLABELRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateProjectRequest : public RoaServiceRequest {
public:
struct Body {
std::string templateIdentifier;
std::string scope;
std::string name;
std::string customCode;
};
CreateProjectRequest();
~CreateProjectRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateProjectResult : public ServiceResult
{
public:
struct Project
{
std::string typeIdentifier;
std::string description;
std::string statusStageIdentifier;
std::string categoryIdentifier;
long gmtModified;
std::string creator;
std::string name;
std::string organizationIdentifier;
long gmtCreate;
std::string identifier;
std::string scope;
std::string logicalStatus;
std::string icon;
std::string customCode;
std::string modifier;
std::string statusIdentifier;
};
CreateProjectResult();
explicit CreateProjectResult(const std::string &payload);
~CreateProjectResult();
Project getProject()const;
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Project project_;
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROJECTRESULT_H_

View File

@@ -0,0 +1,107 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateProtectdBranchRequest : public RoaServiceRequest {
public:
struct Body {
int integer;
std::vector<int> allowPushRoles;
struct TestSettingDTO {
struct SensitiveInfoDetection {
std::string message;
bool enabled;
};
sensitiveInfoDetection sensitiveInfoDetection;
bool isRequired;
struct CheckTaskQualityConfig {
std::string bizNo;
std::string taskName;
std::string message;
bool enabled;
};
checkTaskQualityConfig checkTaskQualityConfig;
struct CodeGuidelinesDetection {
std::string message;
bool enabled;
};
codeGuidelinesDetection codeGuidelinesDetection;
struct CheckConfig {
struct CheckItemsItem {
bool isRequired;
std::string name;
};
checkItemsItem checkItemsItem;
std::vector<checkItemsItem> checkItems;
};
checkConfig checkConfig;
};
testSettingDTO testSettingDTO;
std::string string;
std::vector<std::string> allowPushUserIds;
std::string string;
std::vector<std::string> allowMergeUserIds;
struct MergeRequestSetting {
std::string mrMode;
std::string string;
std::vector<std::string> defaultAssignees;
int minimumApproval;
bool isRequired;
bool isRequireDiscussionProcessed;
int integer;
std::vector<int> allowMergeRequestRoles;
std::string whiteList;
bool isResetApprovalWhenNewPush;
bool isAllowSelfApproval;
};
mergeRequestSetting mergeRequestSetting;
long id;
std::string branch;
int integer;
std::vector<int> allowMergeRoles;
};
CreateProtectdBranchRequest();
~CreateProtectdBranchRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHREQUEST_H_

View File

@@ -0,0 +1,116 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateProtectdBranchResult : public ServiceResult
{
public:
struct Result
{
struct MergeRequestSetting
{
bool isAllowSelfApproval;
bool isRequired;
int minimumApproval;
std::vector<std::string> defaultAssignees;
std::vector<std::string> allowMergeRequestRoles;
std::string mrMode;
bool isResetApprovalWhenNewPush;
std::string whiteList;
bool isRequireDiscussionProcessed;
};
struct TestSettingDTO
{
struct CodeGuidelinesDetection
{
std::string message;
bool enabled;
};
struct SensitiveInfoDetection
{
std::string message;
bool enabled;
};
struct CheckTaskQualityConfig
{
std::string message;
std::string taskName;
std::string bizNo;
bool enabled;
};
struct CheckConfig
{
struct Check_items
{
bool isRequired;
std::string name;
};
std::vector<Check_items> checkItems;
};
SensitiveInfoDetection sensitiveInfoDetection;
bool isRequired;
CheckTaskQualityConfig checkTaskQualityConfig;
CodeGuidelinesDetection codeGuidelinesDetection;
CheckConfig checkConfig;
};
std::vector<std::string> allowMergeUserIds;
std::vector<std::string> allowPushRoles;
std::string branch;
std::vector<std::string> allowPushUserIds;
TestSettingDTO testSettingDTO;
long id;
std::vector<std::string> allowMergeRoles;
MergeRequestSetting mergeRequestSetting;
};
CreateProtectdBranchResult();
explicit CreateProtectdBranchResult(const std::string &payload);
~CreateProtectdBranchResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPROTECTDBRANCHRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreatePushRuleRequest : public RoaServiceRequest {
public:
struct Body {
struct RuleInfosItem {
std::string extraMessage;
std::string checkerType;
std::string string;
std::vector<std::string> fileRuleRegexes;
std::string checkerName;
};
ruleInfosItem ruleInfosItem;
std::vector<ruleInfosItem> ruleInfos;
};
CreatePushRuleRequest();
~CreatePushRuleRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULEREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreatePushRuleResult : public ServiceResult
{
public:
struct Result
{
struct Rule_infos
{
std::vector<std::string> fileRuleRegexes;
std::string checkerName;
std::string checkerType;
std::string extraMessage;
};
std::string gmtCreate;
std::string gmtModified;
long id;
std::vector<Rule_infos> ruleInfos;
};
CreatePushRuleResult();
explicit CreatePushRuleResult(const std::string &payload);
~CreatePushRuleResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEPUSHRULERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateRepositoryGroupRequest : public RoaServiceRequest {
public:
struct Body {
std::string path;
std::string avatarUrl;
std::string name;
std::string description;
int visibilityLevel;
long parentId;
};
CreateRepositoryGroupRequest();
~CreateRepositoryGroupRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateRepositoryGroupResult : public ServiceResult
{
public:
struct Result
{
std::string path;
std::string pathWithNamespace;
long parentId;
std::string type;
std::string description;
std::string avatarUrl;
long ownerId;
std::string webUrl;
std::string nameWithNamespace;
int visibilityLevel;
long id;
std::string name;
};
CreateRepositoryGroupResult();
explicit CreateRepositoryGroupResult(const std::string &payload);
~CreateRepositoryGroupResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYGROUPRESULT_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateRepositoryRequest : public RoaServiceRequest {
public:
struct Body {
std::string importToken;
std::string importTokenEncrypted;
bool isCryptoEnabled;
std::string avatarUrl;
std::string description;
std::string path;
std::string readmeType;
std::string importAccount;
bool initStandardService;
long namespaceId;
std::string localImportUrl;
std::string importRepoType;
std::string name;
std::string importUrl;
int visibilityLevel;
bool importDemoProject;
std::string gitignoreType;
};
CreateRepositoryRequest();
~CreateRepositoryRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
bool getSync() const;
void setSync(bool sync);
bool getCreateParentPath() const;
void setCreateParentPath(bool createParentPath);
private:
std::string organizationId_;
std::string accessToken_;
body body_;
bool sync_;
bool createParentPath_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYREQUEST_H_

View File

@@ -0,0 +1,94 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateRepositoryResult : public ServiceResult
{
public:
struct Result
{
struct _Namespace
{
std::string path;
std::string description;
long ownerId;
std::string createdAt;
bool _public;
std::string visibilityLevel;
long id;
std::string updatedAt;
std::string avatar;
std::string name;
};
std::string defaultBranch;
std::string path;
std::string pathWithNamespace;
std::string lastActivityAt;
std::string httpUrlToRepo;
bool import_from_svn;
std::string description;
long creatorId;
std::string avatar_url;
std::string createdAt;
std::string webUrl;
std::string nameWithNamespace;
_Namespace _namespace;
std::string visibilityLevel;
std::string name;
bool archived;
std::string sshUrlToRepo;
bool demoProject;
long id;
};
CreateRepositoryResult();
explicit CreateRepositoryResult(const std::string &payload);
~CreateRepositoryResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEREPOSITORYRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateResourceMemberRequest : public RoaServiceRequest {
public:
CreateResourceMemberRequest();
~CreateResourceMemberRequest();
long getResourceId() const;
void setResourceId(long resourceId);
std::string getRoleName() const;
void setRoleName(const std::string &roleName);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAccountId() const;
void setAccountId(const std::string &accountId);
private:
long resourceId_;
std::string roleName_;
std::string resourceType_;
std::string organizationId_;
std::string accountId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateResourceMemberResult : public ServiceResult
{
public:
CreateResourceMemberResult();
explicit CreateResourceMemberResult(const std::string &payload);
~CreateResourceMemberResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATERESOURCEMEMBERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceAuthRequest : public RoaServiceRequest {
public:
CreateServiceAuthRequest();
~CreateServiceAuthRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getServiceAuthType() const;
void setServiceAuthType(const std::string &serviceAuthType);
private:
std::string organizationId_;
std::string serviceAuthType_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceAuthResult : public ServiceResult
{
public:
CreateServiceAuthResult();
explicit CreateServiceAuthResult(const std::string &payload);
~CreateServiceAuthResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICEAUTHRESULT_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceConnectionRequest : public RoaServiceRequest {
public:
struct Body {
long serviceAuthId;
std::string scope;
std::string connectionName;
std::string connectionType;
std::string authType;
};
CreateServiceConnectionRequest();
~CreateServiceConnectionRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceConnectionResult : public ServiceResult
{
public:
CreateServiceConnectionResult();
explicit CreateServiceConnectionResult(const std::string &payload);
~CreateServiceConnectionResult();
std::string getRequestId()const;
std::string getErrorCode()const;
long getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
long id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECONNECTIONRESULT_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceCredentialRequest : public RoaServiceRequest {
public:
struct Body {
std::string password;
std::string scope;
std::string name;
std::string type;
std::string username;
};
CreateServiceCredentialRequest();
~CreateServiceCredentialRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateServiceCredentialResult : public ServiceResult
{
public:
CreateServiceCredentialResult();
explicit CreateServiceCredentialResult(const std::string &payload);
~CreateServiceCredentialResult();
std::string getRequestId()const;
std::string getErrorCode()const;
long getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
long id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESERVICECREDENTIALRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateSprintRequest : public RoaServiceRequest {
public:
struct Body {
std::string endDate;
std::string string;
std::vector<std::string> staffIds;
std::string name;
std::string spaceIdentifier;
std::string startDate;
};
CreateSprintRequest();
~CreateSprintRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateSprintResult : public ServiceResult
{
public:
struct Sprint
{
long startDate;
std::string status;
long gmtCreate;
std::string description;
std::string identifier;
std::string scope;
std::string spaceIdentifier;
long gmtModified;
std::string creator;
long endDate;
std::string modifier;
std::string name;
};
CreateSprintResult();
explicit CreateSprintResult(const std::string &payload);
~CreateSprintResult();
std::string getRequestId()const;
std::string getErrorMsg()const;
Sprint getSprint()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorMsg_;
Sprint sprint_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESPRINTRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateSshKeyRequest : public RoaServiceRequest {
public:
CreateSshKeyRequest();
~CreateSshKeyRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateSshKeyResult : public ServiceResult
{
public:
struct SshKey
{
std::string publicKey;
long id;
};
CreateSshKeyResult();
explicit CreateSshKeyResult(const std::string &payload);
~CreateSshKeyResult();
SshKey getSshKey()const;
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
SshKey sshKey_;
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATESSHKEYRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATETAGREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATETAGREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateTagRequest : public RoaServiceRequest {
public:
struct Body {
std::string tagName;
std::string ref;
std::string message;
};
CreateTagRequest();
~CreateTagRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATETAGREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATETAGRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATETAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateTagResult : public ServiceResult
{
public:
struct Result
{
struct Commit
{
std::string authoredDate;
std::string message;
std::string authorName;
std::string committerEmail;
std::string committedDate;
std::vector<std::string> parentIds;
std::string createdAt;
std::string shortId;
std::string title;
std::string id;
std::string authorEmail;
std::string committerName;
};
Commit commit;
std::string message;
std::string id;
std::string name;
};
CreateTagResult();
explicit CreateTagResult(const std::string &payload);
~CreateTagResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATETAGRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateTestCaseRequest : public RoaServiceRequest {
public:
struct Body {
struct FieldValueListItem {
std::string fieldIdentifier;
std::string value;
};
fieldValueListItem fieldValueListItem;
std::vector<fieldValueListItem> fieldValueList;
std::string subject;
struct TestcaseStepContentInfo {
std::string stepType;
std::string precondition;
struct StepResultListItem {
std::string expected;
std::string step;
};
stepResultListItem stepResultListItem;
std::vector<stepResultListItem> stepResultList;
};
testcaseStepContentInfo testcaseStepContentInfo;
std::string spaceIdentifier;
std::string priority;
std::string directoryIdentifier;
std::string assignedTo;
std::string string;
std::vector<std::string> tags;
};
CreateTestCaseRequest();
~CreateTestCaseRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASEREQUEST_H_

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateTestCaseResult : public ServiceResult
{
public:
struct Testcase
{
struct AssignedTo
{
std::string assignIdentifier;
std::string tbRoleId;
std::string name;
};
struct Creator
{
std::string createIdentifier;
std::string name;
};
struct Modifier
{
std::string modifyIdentifier;
std::string name;
};
struct Directory
{
std::string childIdentifier;
std::string directoryIdentifier;
std::vector<std::string> pathName;
std::string name;
};
struct DetailInfo
{
struct Precondition
{
std::string preContent;
std::string preContentType;
std::string preIdentifier;
};
struct StepContent
{
std::string stepIdentifier;
std::string stepContentType;
std::string stepContent;
};
struct ExpectedResult
{
std::string expectIdentifier;
std::string expectContentType;
std::string expectContent;
};
ExpectedResult expectedResult;
Precondition precondition;
std::string stepType;
StepContent stepContent;
};
AssignedTo assignedTo;
std::string identifier;
std::string spaceIdentifier;
DetailInfo detailInfo;
std::string spaceType;
std::string categoryIdentifier;
Creator creator;
Modifier modifier;
std::string subject;
Directory directory;
};
CreateTestCaseResult();
explicit CreateTestCaseResult(const std::string &payload);
~CreateTestCaseResult();
Testcase getTestcase()const;
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Testcase testcase_;
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATETESTCASERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateUserKeyRequest : public RoaServiceRequest {
public:
struct Body {
std::string expireTime;
std::string keyScope;
std::string publicKey;
std::string title;
};
CreateUserKeyRequest();
~CreateUserKeyRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateUserKeyResult : public ServiceResult
{
public:
struct Result
{
std::string publicKey;
std::string fingerPrint;
std::string createdAt;
std::string lastUsedTime;
std::string title;
long id;
std::string expireTime;
std::string keyScope;
};
CreateUserKeyResult();
explicit CreateUserKeyResult(const std::string &payload);
~CreateUserKeyResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEUSERKEYRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateVariableGroupRequest : public RoaServiceRequest {
public:
CreateVariableGroupRequest();
~CreateVariableGroupRequest();
std::string getVariables() const;
void setVariables(const std::string &variables);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string variables_;
std::string description_;
std::string organizationId_;
std::string name_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateVariableGroupResult : public ServiceResult
{
public:
CreateVariableGroupResult();
explicit CreateVariableGroupResult(const std::string &payload);
~CreateVariableGroupResult();
std::string getRequestId()const;
std::string getErrorCode()const;
long getVariableGroupId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
long variableGroupId_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEVARIABLEGROUPRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemCommentRequest : public RoaServiceRequest {
public:
struct Body {
std::string workitemIdentifier;
std::string formatType;
std::string content;
std::string parentId;
};
CreateWorkitemCommentRequest();
~CreateWorkitemCommentRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemCommentResult : public ServiceResult
{
public:
struct Comment
{
struct User
{
std::string account;
std::string identifier;
std::string displayName;
std::string targetType;
std::string realName;
std::string nickName;
std::string avatar;
};
long parentId;
bool isTop;
User user;
long modifiedTime;
long topTime;
std::string content;
std::string targetIdentifier;
long createTime;
std::string targetType;
long id;
std::string formatType;
};
CreateWorkitemCommentResult();
explicit CreateWorkitemCommentResult(const std::string &payload);
~CreateWorkitemCommentResult();
Comment getComment()const;
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Comment comment_;
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMCOMMENTRESULT_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemEstimateRequest : public RoaServiceRequest {
public:
struct Body {
std::string recordUserIdentifier;
std::string description;
std::string workitemIdentifier;
std::string type;
std::string spentTime;
};
CreateWorkitemEstimateRequest();
~CreateWorkitemEstimateRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATEREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemEstimateResult : public ServiceResult
{
public:
struct WorkitemTimeEstimate
{
struct RecordUser
{
std::string account;
std::string email;
std::string stamp;
std::string displayRealName;
bool isDisabled;
std::string nickNamePinyin;
std::string gender;
std::string nickName;
std::string mobile;
std::string avatar;
std::string displayNickName;
std::string dingTalkId;
std::string identifier;
std::string nameEn;
std::string realNamePinyin;
std::string displayName;
std::string realName;
std::string tbRoleId;
};
std::string workitemIdentifier;
std::string type;
std::string identifier;
long spentTime;
std::string description;
RecordUser recordUser;
};
CreateWorkitemEstimateResult();
explicit CreateWorkitemEstimateResult(const std::string &payload);
~CreateWorkitemEstimateResult();
WorkitemTimeEstimate getWorkitemTimeEstimate()const;
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
WorkitemTimeEstimate workitemTimeEstimate_;
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMESTIMATERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemRecordRequest : public RoaServiceRequest {
public:
struct Body {
std::string recordUserIdentifier;
std::string actualTime;
std::string gmtEnd;
std::string description;
std::string gmtStart;
std::string workitemIdentifier;
std::string type;
};
CreateWorkitemRecordRequest();
~CreateWorkitemRecordRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDREQUEST_H_

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemRecordResult : public ServiceResult
{
public:
struct WorkitemTime
{
struct RecordUser
{
std::string account;
std::string email;
std::string stamp;
std::string displayRealName;
bool isDisabled;
std::string nickNamePinyin;
std::string gender;
std::string nickName;
std::string mobile;
std::string avatar;
std::string displayNickName;
std::string dingTalkId;
std::string identifier;
std::string nameEn;
std::string realNamePinyin;
std::string displayName;
std::string realName;
std::string tbRoleId;
};
long gmtStart;
long gmtEnd;
std::string workitemIdentifier;
std::string type;
std::string identifier;
std::string description;
long actualTime;
RecordUser recordUser;
};
CreateWorkitemRecordResult();
explicit CreateWorkitemRecordResult(const std::string &payload);
~CreateWorkitemRecordResult();
std::string getRequestId()const;
WorkitemTime getWorkitemTime()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
WorkitemTime workitemTime_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRECORDRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemRequest : public RoaServiceRequest {
public:
struct Body {
std::string parent;
std::string subject;
std::string string;
std::vector<std::string> sprint;
std::string description;
std::string assignedTo;
std::string space;
std::string string;
std::vector<std::string> participant;
struct FieldValueListItem {
std::string fieldIdentifier;
std::string workitemIdentifier;
std::string value;
};
fieldValueListItem fieldValueListItem;
std::vector<fieldValueListItem> fieldValueList;
std::string spaceType;
std::string workitemType;
std::string string;
std::vector<std::string> verifier;
std::string string;
std::vector<std::string> tracker;
std::string descriptionFormat;
std::string spaceIdentifier;
std::string category;
};
CreateWorkitemRequest();
~CreateWorkitemRequest();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemResult : public ServiceResult
{
public:
struct Workitem
{
std::string status;
std::string statusStageIdentifier;
std::string spaceName;
std::string categoryIdentifier;
long gmtModified;
std::string creator;
std::string document;
std::string parentIdentifier;
std::string subject;
std::string assignedTo;
long updateStatusAt;
std::string workitemTypeIdentifier;
long gmtCreate;
std::string identifier;
std::string serialNumber;
std::string spaceIdentifier;
std::string spaceType;
std::string logicalStatus;
std::string sprintIdentifier;
std::string modifier;
std::string statusIdentifier;
};
CreateWorkitemResult();
explicit CreateWorkitemResult(const std::string &payload);
~CreateWorkitemResult();
Workitem getWorkitem()const;
std::string getRequestId()const;
std::string getErrorMsg()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Workitem workitem_;
std::string requestId_;
std::string errorMsg_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMRESULT_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2REQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2REQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemV2Request : public RoaServiceRequest {
public:
struct Body {
std::string string;
std::vector<std::string> trackers;
std::string subject;
std::string sprintIdentifier;
std::string description;
std::string assignedTo;
std::string string;
std::vector<std::string> tags;
struct FieldValueListItem {
std::string fieldIdentifier;
std::string value;
};
fieldValueListItem fieldValueListItem;
std::vector<fieldValueListItem> fieldValueList;
std::string workitemTypeIdentifier;
std::string string;
std::vector<std::string> versions;
std::string verifier;
std::string spaceIdentifier;
std::string parentIdentifier;
std::string category;
std::string string;
std::vector<std::string> participants;
};
CreateWorkitemV2Request();
~CreateWorkitemV2Request();
body getBody() const;
void setBody(const body &body);
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
private:
body body_;
std::string organizationId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2REQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2RESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkitemV2Result : public ServiceResult
{
public:
CreateWorkitemV2Result();
explicit CreateWorkitemV2Result(const std::string &payload);
~CreateWorkitemV2Result();
std::string getWorkitemIdentifier()const;
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string workitemIdentifier_;
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKITEMV2RESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkspaceRequest : public RoaServiceRequest {
public:
CreateWorkspaceRequest();
~CreateWorkspaceRequest();
std::string getCodeUrl() const;
void setCodeUrl(const std::string &codeUrl);
bool getReuse() const;
void setReuse(bool reuse);
std::string getResourceIdentifier() const;
void setResourceIdentifier(const std::string &resourceIdentifier);
std::string getRequestFrom() const;
void setRequestFrom(const std::string &requestFrom);
std::string getWorkspaceTemplate() const;
void setWorkspaceTemplate(const std::string &workspaceTemplate);
std::string getFilePath() const;
void setFilePath(const std::string &filePath);
std::string getName() const;
void setName(const std::string &name);
std::string getCodeVersion() const;
void setCodeVersion(const std::string &codeVersion);
private:
std::string codeUrl_;
bool reuse_;
std::string resourceIdentifier_;
std::string requestFrom_;
std::string workspaceTemplate_;
std::string filePath_;
std::string name_;
std::string codeVersion_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACEREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT CreateWorkspaceResult : public ServiceResult
{
public:
struct Workspace
{
std::string status;
std::string _template;
std::string createTime;
std::string id;
std::string creator;
std::string name;
};
CreateWorkspaceResult();
explicit CreateWorkspaceResult(const std::string &payload);
~CreateWorkspaceResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Workspace getWorkspace()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Workspace workspace_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_CREATEWORKSPACERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteAppMemberRequest : public RoaServiceRequest {
public:
DeleteAppMemberRequest();
~DeleteAppMemberRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAppName() const;
void setAppName(const std::string &appName);
std::string getSubjectType() const;
void setSubjectType(const std::string &subjectType);
std::string getSubjectId() const;
void setSubjectId(const std::string &subjectId);
private:
std::string organizationId_;
std::string appName_;
std::string subjectType_;
std::string subjectId_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteAppMemberResult : public ServiceResult
{
public:
DeleteAppMemberResult();
explicit DeleteAppMemberResult(const std::string &payload);
~DeleteAppMemberResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEAPPMEMBERRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteBranchRequest : public RoaServiceRequest {
public:
DeleteBranchRequest();
~DeleteBranchRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
std::string getBranchName() const;
void setBranchName(const std::string &branchName);
private:
std::string organizationId_;
long repositoryId_;
std::string accessToken_;
std::string branchName_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteBranchResult : public ServiceResult
{
public:
struct Result
{
std::string branchName;
};
DeleteBranchResult();
explicit DeleteBranchResult(const std::string &payload);
~DeleteBranchResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
std::string getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
std::string success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEBRANCHRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFILEREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFILEREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFileRequest : public RoaServiceRequest {
public:
DeleteFileRequest();
~DeleteFileRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getFilePath() const;
void setFilePath(const std::string &filePath);
long getRepositoryId() const;
void setRepositoryId(long repositoryId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
std::string getCommitMessage() const;
void setCommitMessage(const std::string &commitMessage);
std::string getBranchName() const;
void setBranchName(const std::string &branchName);
private:
std::string organizationId_;
std::string filePath_;
long repositoryId_;
std::string accessToken_;
std::string commitMessage_;
std::string branchName_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFILEREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFILERESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFileResult : public ServiceResult
{
public:
struct Result
{
std::string filePath;
std::string branchName;
};
DeleteFileResult();
explicit DeleteFileResult(const std::string &payload);
~DeleteFileResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFILERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFlowTagGroupRequest : public RoaServiceRequest {
public:
DeleteFlowTagGroupRequest();
~DeleteFlowTagGroupRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getId() const;
void setId(const std::string &id);
private:
std::string organizationId_;
std::string id_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFlowTagGroupResult : public ServiceResult
{
public:
DeleteFlowTagGroupResult();
explicit DeleteFlowTagGroupResult(const std::string &payload);
~DeleteFlowTagGroupResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGGROUPRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFlowTagRequest : public RoaServiceRequest {
public:
DeleteFlowTagRequest();
~DeleteFlowTagRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getId() const;
void setId(const std::string &id);
private:
std::string organizationId_;
std::string id_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteFlowTagResult : public ServiceResult
{
public:
DeleteFlowTagResult();
explicit DeleteFlowTagResult(const std::string &payload);
~DeleteFlowTagResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEFLOWTAGRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteGroupMemberRequest : public RoaServiceRequest {
public:
struct Body {
std::string memberType;
};
DeleteGroupMemberRequest();
~DeleteGroupMemberRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
std::string getAliyunPk() const;
void setAliyunPk(const std::string &aliyunPk);
long getGroupId() const;
void setGroupId(long groupId);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
body getBody() const;
void setBody(const body &body);
private:
std::string organizationId_;
std::string aliyunPk_;
long groupId_;
std::string accessToken_;
body body_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteGroupMemberResult : public ServiceResult
{
public:
struct Result
{
std::string avatarUrl;
std::string username;
std::string externUid;
std::string memberType;
std::string state;
long sourceId;
long id;
int accessLevel;
std::string name;
};
DeleteGroupMemberResult();
explicit DeleteGroupMemberResult(const std::string &payload);
~DeleteGroupMemberResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEGROUPMEMBERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPREQUEST_H_
#include <alibabacloud/devops/DevopsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Devops {
namespace Model {
class ALIBABACLOUD_DEVOPS_EXPORT DeleteHostGroupRequest : public RoaServiceRequest {
public:
DeleteHostGroupRequest();
~DeleteHostGroupRequest();
std::string getOrganizationId() const;
void setOrganizationId(const std::string &organizationId);
long getId() const;
void setId(long id);
private:
std::string organizationId_;
long id_;
};
} // namespace Model
} // namespace Devops
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed 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.
*/
#ifndef ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPRESULT_H_
#define ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops/DevopsExport.h>
namespace AlibabaCloud
{
namespace Devops
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_EXPORT DeleteHostGroupResult : public ServiceResult
{
public:
DeleteHostGroupResult();
explicit DeleteHostGroupResult(const std::string &payload);
~DeleteHostGroupResult();
std::string getRequestId()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_MODEL_DELETEHOSTGROUPRESULT_H_

Some files were not shown because too many files have changed in this diff Show More