forked from Azure/azure-libraries-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 8e3c1b45d0234eeebeab1d7ebdcc2a30ce1d7179
A few improvements and fixes (#4) * A few improvements and fixes * Fix the description for build arguments * Remove error schema * use 2017-10-01 tag * Add default response back
- Loading branch information
1 parent
e1ad996
commit b030c5b
Showing
45 changed files
with
7,893 additions
and
155 deletions.
There are no files selected for viewing
148 changes: 148 additions & 0 deletions
148
...y/src/main/java/com/microsoft/azure/management/containerregistry/BaseImageDependency.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerregistry; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Properties that describe a base image dependency. | ||
*/ | ||
public class BaseImageDependency { | ||
/** | ||
* The type of the base image dependency. Possible values include: | ||
* 'BuildTime', 'RunTime'. | ||
*/ | ||
@JsonProperty(value = "type") | ||
private BaseImageDependencyType type; | ||
|
||
/** | ||
* The registry login server. | ||
*/ | ||
@JsonProperty(value = "registry") | ||
private String registry; | ||
|
||
/** | ||
* The repository name. | ||
*/ | ||
@JsonProperty(value = "repository") | ||
private String repository; | ||
|
||
/** | ||
* The tag name. | ||
*/ | ||
@JsonProperty(value = "tag") | ||
private String tag; | ||
|
||
/** | ||
* The sha256-based digest of the image manifest. | ||
*/ | ||
@JsonProperty(value = "digest") | ||
private String digest; | ||
|
||
/** | ||
* Get the type value. | ||
* | ||
* @return the type value | ||
*/ | ||
public BaseImageDependencyType type() { | ||
return this.type; | ||
} | ||
|
||
/** | ||
* Set the type value. | ||
* | ||
* @param type the type value to set | ||
* @return the BaseImageDependency object itself. | ||
*/ | ||
public BaseImageDependency withType(BaseImageDependencyType type) { | ||
this.type = type; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the registry value. | ||
* | ||
* @return the registry value | ||
*/ | ||
public String registry() { | ||
return this.registry; | ||
} | ||
|
||
/** | ||
* Set the registry value. | ||
* | ||
* @param registry the registry value to set | ||
* @return the BaseImageDependency object itself. | ||
*/ | ||
public BaseImageDependency withRegistry(String registry) { | ||
this.registry = registry; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the repository value. | ||
* | ||
* @return the repository value | ||
*/ | ||
public String repository() { | ||
return this.repository; | ||
} | ||
|
||
/** | ||
* Set the repository value. | ||
* | ||
* @param repository the repository value to set | ||
* @return the BaseImageDependency object itself. | ||
*/ | ||
public BaseImageDependency withRepository(String repository) { | ||
this.repository = repository; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the tag value. | ||
* | ||
* @return the tag value | ||
*/ | ||
public String tag() { | ||
return this.tag; | ||
} | ||
|
||
/** | ||
* Set the tag value. | ||
* | ||
* @param tag the tag value to set | ||
* @return the BaseImageDependency object itself. | ||
*/ | ||
public BaseImageDependency withTag(String tag) { | ||
this.tag = tag; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the digest value. | ||
* | ||
* @return the digest value | ||
*/ | ||
public String digest() { | ||
return this.digest; | ||
} | ||
|
||
/** | ||
* Set the digest value. | ||
* | ||
* @param digest the digest value to set | ||
* @return the BaseImageDependency object itself. | ||
*/ | ||
public BaseImageDependency withDigest(String digest) { | ||
this.digest = digest; | ||
return this; | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
...c/main/java/com/microsoft/azure/management/containerregistry/BaseImageDependencyType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerregistry; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for BaseImageDependencyType. | ||
*/ | ||
public final class BaseImageDependencyType extends ExpandableStringEnum<BaseImageDependencyType> { | ||
/** Static value BuildTime for BaseImageDependencyType. */ | ||
public static final BaseImageDependencyType BUILD_TIME = fromString("BuildTime"); | ||
|
||
/** Static value RunTime for BaseImageDependencyType. */ | ||
public static final BaseImageDependencyType RUN_TIME = fromString("RunTime"); | ||
|
||
/** | ||
* Creates or finds a BaseImageDependencyType from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding BaseImageDependencyType | ||
*/ | ||
@JsonCreator | ||
public static BaseImageDependencyType fromString(String name) { | ||
return fromString(name, BaseImageDependencyType.class); | ||
} | ||
|
||
/** | ||
* @return known BaseImageDependencyType values | ||
*/ | ||
public static Collection<BaseImageDependencyType> values() { | ||
return values(BaseImageDependencyType.class); | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
.../src/main/java/com/microsoft/azure/management/containerregistry/BaseImageTriggerType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerregistry; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for BaseImageTriggerType. | ||
*/ | ||
public final class BaseImageTriggerType extends ExpandableStringEnum<BaseImageTriggerType> { | ||
/** Static value All for BaseImageTriggerType. */ | ||
public static final BaseImageTriggerType ALL = fromString("All"); | ||
|
||
/** Static value Runtime for BaseImageTriggerType. */ | ||
public static final BaseImageTriggerType RUNTIME = fromString("Runtime"); | ||
|
||
/** Static value None for BaseImageTriggerType. */ | ||
public static final BaseImageTriggerType NONE = fromString("None"); | ||
|
||
/** | ||
* Creates or finds a BaseImageTriggerType from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding BaseImageTriggerType | ||
*/ | ||
@JsonCreator | ||
public static BaseImageTriggerType fromString(String name) { | ||
return fromString(name, BaseImageTriggerType.class); | ||
} | ||
|
||
/** | ||
* @return known BaseImageTriggerType values | ||
*/ | ||
public static Collection<BaseImageTriggerType> values() { | ||
return values(BaseImageTriggerType.class); | ||
} | ||
} |
Oops, something went wrong.