Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR containerregistry/resource-manager] [ACR] Fix list builds odata query #2150

Merged
Merged
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 @@ -9,7 +9,6 @@
package com.microsoft.azure.management.containerregistry.v2018_02_01_preview;

import org.joda.time.DateTime;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
Expand Down Expand Up @@ -49,10 +48,11 @@ public class BuildFilter {
private DateTime finishTime;

/**
* The list of all images that were generated from the build.
* The list of comma-separated image manifests that were generated from the
* build.
*/
@JsonProperty(value = "outputImageNames")
private List<String> outputImageNames;
@JsonProperty(value = "outputImageManifests")
private String outputImageManifests;

/**
* The value that indicates whether archiving is enabled or not.
Expand Down Expand Up @@ -167,22 +167,22 @@ public BuildFilter withFinishTime(DateTime finishTime) {
}

/**
* Get the list of all images that were generated from the build.
* Get the list of comma-separated image manifests that were generated from the build.
*
* @return the outputImageNames value
* @return the outputImageManifests value
*/
public List<String> outputImageNames() {
return this.outputImageNames;
public String outputImageManifests() {
return this.outputImageManifests;
}

/**
* Set the list of all images that were generated from the build.
* Set the list of comma-separated image manifests that were generated from the build.
*
* @param outputImageNames the outputImageNames value to set
* @param outputImageManifests the outputImageManifests value to set
* @return the BuildFilter object itself.
*/
public BuildFilter withOutputImageNames(List<String> outputImageNames) {
this.outputImageNames = outputImageNames;
public BuildFilter withOutputImageManifests(String outputImageManifests) {
this.outputImageManifests = outputImageManifests;
return this;
}

Expand Down