Skip to content

Commit 951f7dc

Browse files
author
SDKAuto
committed
CodeGen from PR 11694 in Azure/azure-rest-api-specs
Merge 4b7f13f308b278c210d2fe852529ab0f0b196be2 into bff6f9c01368a8c6ede04175d8dfa8e4a710cf6c
1 parent 3c171e4 commit 951f7dc

File tree

171 files changed

+23745
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+23745
-0
lines changed
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<!--
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
-->
8+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9+
<modelVersion>4.0.0</modelVersion>
10+
<groupId>com.microsoft.azure.databoxedge.v2019_07_01</groupId>
11+
<parent>
12+
<groupId>com.microsoft.azure</groupId>
13+
<artifactId>azure-arm-parent</artifactId>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
16+
</parent>
17+
<artifactId>azure-mgmt-databoxedge</artifactId>
18+
<version>1.0.0-beta</version>
19+
<packaging>jar</packaging>
20+
<name>Microsoft Azure SDK for DataBoxEdge Management</name>
21+
<description>This package contains Microsoft DataBoxEdge Management SDK.</description>
22+
<url>https://github.com/Azure/azure-sdk-for-java</url>
23+
<licenses>
24+
<license>
25+
<name>The MIT License (MIT)</name>
26+
<url>http://opensource.org/licenses/MIT</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
30+
<scm>
31+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
32+
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
33+
<tag>HEAD</tag>
34+
</scm>
35+
<properties>
36+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37+
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
38+
</properties>
39+
<developers>
40+
<developer>
41+
<id>microsoft</id>
42+
<name>Microsoft</name>
43+
</developer>
44+
</developers>
45+
<dependencies>
46+
<dependency>
47+
<groupId>com.microsoft.azure</groupId>
48+
<artifactId>azure-client-runtime</artifactId>
49+
</dependency>
50+
<dependency>
51+
<groupId>com.microsoft.azure</groupId>
52+
<artifactId>azure-arm-client-runtime</artifactId>
53+
</dependency>
54+
<dependency>
55+
<groupId>junit</groupId>
56+
<artifactId>junit</artifactId>
57+
<scope>test</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.microsoft.azure</groupId>
61+
<artifactId>azure-client-authentication</artifactId>
62+
<scope>test</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.microsoft.azure</groupId>
66+
<artifactId>azure-mgmt-resources</artifactId>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>com.microsoft.azure</groupId>
71+
<artifactId>azure-arm-client-runtime</artifactId>
72+
<type>test-jar</type>
73+
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
76+
</dependency>
77+
</dependencies>
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-jar-plugin</artifactId>
83+
<configuration>
84+
<archive>
85+
<manifest>
86+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
87+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
88+
</manifest>
89+
</archive>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.codehaus.mojo</groupId>
94+
<artifactId>build-helper-maven-plugin</artifactId>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-compiler-plugin</artifactId>
99+
<version>3.1</version>
100+
<configuration>
101+
<source>1.7</source>
102+
<target>1.7</target>
103+
<annotationProcessors>
104+
<annotationProcessor>
105+
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
106+
</annotationProcessor>
107+
</annotationProcessors>
108+
<debug>true</debug>
109+
<optimize>true</optimize>
110+
<compilerArguments>
111+
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
112+
<Adebug>true</Adebug>
113+
</compilerArguments>
114+
</configuration>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-javadoc-plugin</artifactId>
119+
<version>2.8</version>
120+
<configuration>
121+
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
122+
<bottom>
123+
<![CDATA[<code>
124+
/**
125+
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
126+
<br />* Licensed under the MIT License. See License.txt in the project root for
127+
<br />* license information.
128+
<br />*/
129+
</code>]]>
130+
</bottom>
131+
</configuration>
132+
</plugin>
133+
</plugins>
134+
</build>
135+
</project>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.databoxedge.v2019_07_01;
10+
11+
import com.microsoft.azure.ProxyResource;
12+
13+
/**
14+
* Represents the base class for all object models.
15+
*/
16+
public class ARMBaseModel extends ProxyResource {
17+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.databoxedge.v2019_07_01;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for AccountType.
17+
*/
18+
public final class AccountType extends ExpandableStringEnum<AccountType> {
19+
/** Static value GeneralPurposeStorage for AccountType. */
20+
public static final AccountType GENERAL_PURPOSE_STORAGE = fromString("GeneralPurposeStorage");
21+
22+
/** Static value BlobStorage for AccountType. */
23+
public static final AccountType BLOB_STORAGE = fromString("BlobStorage");
24+
25+
/**
26+
* Creates or finds a AccountType from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding AccountType
29+
*/
30+
@JsonCreator
31+
public static AccountType fromString(String name) {
32+
return fromString(name, AccountType.class);
33+
}
34+
35+
/**
36+
* @return known AccountType values
37+
*/
38+
public static Collection<AccountType> values() {
39+
return values(AccountType.class);
40+
}
41+
}
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.databoxedge.v2019_07_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The shipping address of the customer.
15+
*/
16+
public class Address {
17+
/**
18+
* The address line1.
19+
*/
20+
@JsonProperty(value = "addressLine1", required = true)
21+
private String addressLine1;
22+
23+
/**
24+
* The address line2.
25+
*/
26+
@JsonProperty(value = "addressLine2")
27+
private String addressLine2;
28+
29+
/**
30+
* The address line3.
31+
*/
32+
@JsonProperty(value = "addressLine3")
33+
private String addressLine3;
34+
35+
/**
36+
* The postal code.
37+
*/
38+
@JsonProperty(value = "postalCode", required = true)
39+
private String postalCode;
40+
41+
/**
42+
* The city name.
43+
*/
44+
@JsonProperty(value = "city", required = true)
45+
private String city;
46+
47+
/**
48+
* The state name.
49+
*/
50+
@JsonProperty(value = "state", required = true)
51+
private String state;
52+
53+
/**
54+
* The country name.
55+
*/
56+
@JsonProperty(value = "country", required = true)
57+
private String country;
58+
59+
/**
60+
* Get the address line1.
61+
*
62+
* @return the addressLine1 value
63+
*/
64+
public String addressLine1() {
65+
return this.addressLine1;
66+
}
67+
68+
/**
69+
* Set the address line1.
70+
*
71+
* @param addressLine1 the addressLine1 value to set
72+
* @return the Address object itself.
73+
*/
74+
public Address withAddressLine1(String addressLine1) {
75+
this.addressLine1 = addressLine1;
76+
return this;
77+
}
78+
79+
/**
80+
* Get the address line2.
81+
*
82+
* @return the addressLine2 value
83+
*/
84+
public String addressLine2() {
85+
return this.addressLine2;
86+
}
87+
88+
/**
89+
* Set the address line2.
90+
*
91+
* @param addressLine2 the addressLine2 value to set
92+
* @return the Address object itself.
93+
*/
94+
public Address withAddressLine2(String addressLine2) {
95+
this.addressLine2 = addressLine2;
96+
return this;
97+
}
98+
99+
/**
100+
* Get the address line3.
101+
*
102+
* @return the addressLine3 value
103+
*/
104+
public String addressLine3() {
105+
return this.addressLine3;
106+
}
107+
108+
/**
109+
* Set the address line3.
110+
*
111+
* @param addressLine3 the addressLine3 value to set
112+
* @return the Address object itself.
113+
*/
114+
public Address withAddressLine3(String addressLine3) {
115+
this.addressLine3 = addressLine3;
116+
return this;
117+
}
118+
119+
/**
120+
* Get the postal code.
121+
*
122+
* @return the postalCode value
123+
*/
124+
public String postalCode() {
125+
return this.postalCode;
126+
}
127+
128+
/**
129+
* Set the postal code.
130+
*
131+
* @param postalCode the postalCode value to set
132+
* @return the Address object itself.
133+
*/
134+
public Address withPostalCode(String postalCode) {
135+
this.postalCode = postalCode;
136+
return this;
137+
}
138+
139+
/**
140+
* Get the city name.
141+
*
142+
* @return the city value
143+
*/
144+
public String city() {
145+
return this.city;
146+
}
147+
148+
/**
149+
* Set the city name.
150+
*
151+
* @param city the city value to set
152+
* @return the Address object itself.
153+
*/
154+
public Address withCity(String city) {
155+
this.city = city;
156+
return this;
157+
}
158+
159+
/**
160+
* Get the state name.
161+
*
162+
* @return the state value
163+
*/
164+
public String state() {
165+
return this.state;
166+
}
167+
168+
/**
169+
* Set the state name.
170+
*
171+
* @param state the state value to set
172+
* @return the Address object itself.
173+
*/
174+
public Address withState(String state) {
175+
this.state = state;
176+
return this;
177+
}
178+
179+
/**
180+
* Get the country name.
181+
*
182+
* @return the country value
183+
*/
184+
public String country() {
185+
return this.country;
186+
}
187+
188+
/**
189+
* Set the country name.
190+
*
191+
* @param country the country value to set
192+
* @return the Address object itself.
193+
*/
194+
public Address withCountry(String country) {
195+
this.country = country;
196+
return this;
197+
}
198+
199+
}

0 commit comments

Comments
 (0)