Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-developerconnect</artifactId>
<version>v1-rev20261002-2.9.2</version>
<version>v1-rev20261025-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20261002-2.9.2'
implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20261025-2.9.2'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*
* 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.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.developerconnect.v1.model;

/**
* Request message for AddGitRepositoryLinkPullRequestComment.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Developer Connect API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AddGitRepositoryLinkPullRequestCommentRequest extends com.google.api.client.json.GenericJson {

/**
* Required. The comment to add.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PullRequestComment comment;

/**
* Required. The ID of the Pull Request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pullRequestId;

/**
* Required. The comment to add.
* @return value or {@code null} for none
*/
public PullRequestComment getComment() {
return comment;
}

/**
* Required. The comment to add.
* @param comment comment or {@code null} for none
*/
public AddGitRepositoryLinkPullRequestCommentRequest setComment(PullRequestComment comment) {
this.comment = comment;
return this;
}

/**
* Required. The ID of the Pull Request.
* @return value or {@code null} for none
*/
public java.lang.String getPullRequestId() {
return pullRequestId;
}

/**
* Required. The ID of the Pull Request.
* @param pullRequestId pullRequestId or {@code null} for none
*/
public AddGitRepositoryLinkPullRequestCommentRequest setPullRequestId(java.lang.String pullRequestId) {
this.pullRequestId = pullRequestId;
return this;
}

@Override
public AddGitRepositoryLinkPullRequestCommentRequest set(String fieldName, Object value) {
return (AddGitRepositoryLinkPullRequestCommentRequest) super.set(fieldName, value);
}

@Override
public AddGitRepositoryLinkPullRequestCommentRequest clone() {
return (AddGitRepositoryLinkPullRequestCommentRequest) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
* 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.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.developerconnect.v1.model;

/**
* Request message for AddGitRepositoryLinkPullRequestReviewComment.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Developer Connect API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AddGitRepositoryLinkPullRequestReviewCommentRequest extends com.google.api.client.json.GenericJson {

/**
* Required. The review comment to add.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PullRequestReviewComment comment;

/**
* Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the
* Pull Request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String commitId;

/**
* Required. The ID of the Pull Request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pullRequestId;

/**
* Required. The review comment to add.
* @return value or {@code null} for none
*/
public PullRequestReviewComment getComment() {
return comment;
}

/**
* Required. The review comment to add.
* @param comment comment or {@code null} for none
*/
public AddGitRepositoryLinkPullRequestReviewCommentRequest setComment(PullRequestReviewComment comment) {
this.comment = comment;
return this;
}

/**
* Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the
* Pull Request.
* @return value or {@code null} for none
*/
public java.lang.String getCommitId() {
return commitId;
}

/**
* Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the
* Pull Request.
* @param commitId commitId or {@code null} for none
*/
public AddGitRepositoryLinkPullRequestReviewCommentRequest setCommitId(java.lang.String commitId) {
this.commitId = commitId;
return this;
}

/**
* Required. The ID of the Pull Request.
* @return value or {@code null} for none
*/
public java.lang.String getPullRequestId() {
return pullRequestId;
}

/**
* Required. The ID of the Pull Request.
* @param pullRequestId pullRequestId or {@code null} for none
*/
public AddGitRepositoryLinkPullRequestReviewCommentRequest setPullRequestId(java.lang.String pullRequestId) {
this.pullRequestId = pullRequestId;
return this;
}

@Override
public AddGitRepositoryLinkPullRequestReviewCommentRequest set(String fieldName, Object value) {
return (AddGitRepositoryLinkPullRequestReviewCommentRequest) super.set(fieldName, value);
}

@Override
public AddGitRepositoryLinkPullRequestReviewCommentRequest clone() {
return (AddGitRepositoryLinkPullRequestReviewCommentRequest) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/*
* 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.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.developerconnect.v1.model;

/**
* BlameRange represents blame information for a range of lines.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Developer Connect API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class BlameRange extends com.google.api.client.json.GenericJson {

/**
* The commit metadata for this line range.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private SCMCommit commit;

/**
* The 1-indexed starting line number of the range (inclusive).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer firstLine;

/**
* The 1-indexed ending line number of the range (inclusive).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer lastLine;

/**
* The commit metadata for this line range.
* @return value or {@code null} for none
*/
public SCMCommit getCommit() {
return commit;
}

/**
* The commit metadata for this line range.
* @param commit commit or {@code null} for none
*/
public BlameRange setCommit(SCMCommit commit) {
this.commit = commit;
return this;
}

/**
* The 1-indexed starting line number of the range (inclusive).
* @return value or {@code null} for none
*/
public java.lang.Integer getFirstLine() {
return firstLine;
}

/**
* The 1-indexed starting line number of the range (inclusive).
* @param firstLine firstLine or {@code null} for none
*/
public BlameRange setFirstLine(java.lang.Integer firstLine) {
this.firstLine = firstLine;
return this;
}

/**
* The 1-indexed ending line number of the range (inclusive).
* @return value or {@code null} for none
*/
public java.lang.Integer getLastLine() {
return lastLine;
}

/**
* The 1-indexed ending line number of the range (inclusive).
* @param lastLine lastLine or {@code null} for none
*/
public BlameRange setLastLine(java.lang.Integer lastLine) {
this.lastLine = lastLine;
return this;
}

@Override
public BlameRange set(String fieldName, Object value) {
return (BlameRange) super.set(fieldName, value);
}

@Override
public BlameRange clone() {
return (BlameRange) super.clone();
}

}
Loading
Loading