forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 23695 in Azure/azure-rest-api-specs
Merge dfc493bb353ddd0945c74a831e79e6b5aa934b8f into 785e632f5fe8e7612e78463807037a23ad69c752
- Loading branch information
SDKAuto
committed
Apr 25, 2023
1 parent
941bf59
commit 59ed217
Showing
293 changed files
with
2,777 additions
and
7,523 deletions.
There are no files selected for viewing
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
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
554 changes: 284 additions & 270 deletions
554
sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
59 changes: 59 additions & 0 deletions
59
...a/com/azure/resourcemanager/devcenter/fluent/models/OutboundEnvironmentEndpointInner.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,59 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.devcenter.fluent.models; | ||
|
||
import com.azure.core.annotation.Immutable; | ||
import com.azure.resourcemanager.devcenter.models.EndpointDependency; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.List; | ||
|
||
/** A collection of related endpoints from the same service for which the agent requires outbound access. */ | ||
@Immutable | ||
public final class OutboundEnvironmentEndpointInner { | ||
/* | ||
* The type of service that the agent connects to. | ||
*/ | ||
@JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY) | ||
private String category; | ||
|
||
/* | ||
* The endpoints for this service for which the agent requires outbound access. | ||
*/ | ||
@JsonProperty(value = "endpoints", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<EndpointDependency> endpoints; | ||
|
||
/** Creates an instance of OutboundEnvironmentEndpointInner class. */ | ||
public OutboundEnvironmentEndpointInner() { | ||
} | ||
|
||
/** | ||
* Get the category property: The type of service that the agent connects to. | ||
* | ||
* @return the category value. | ||
*/ | ||
public String category() { | ||
return this.category; | ||
} | ||
|
||
/** | ||
* Get the endpoints property: The endpoints for this service for which the agent requires outbound access. | ||
* | ||
* @return the endpoints value. | ||
*/ | ||
public List<EndpointDependency> endpoints() { | ||
return this.endpoints; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
if (endpoints() != null) { | ||
endpoints().forEach(e -> e.validate()); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.