Skip to content

Commit

Permalink
Generated from e12bfe58c078644fa4f505624db9985a6b7a428b (#2606)
Browse files Browse the repository at this point in the history
Add new resource provider Microsoft.EngagementFabric
  • Loading branch information
AutorestCI authored Nov 19, 2018
1 parent b4e30b6 commit 9c88ba0
Show file tree
Hide file tree
Showing 25 changed files with 3,248 additions and 0 deletions.
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.engagementfabric;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The patch of EngagementFabric account.
*/
public class AccountPatch {
/**
* The tags of the resource.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;

/**
* Get the tags of the resource.
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the tags of the resource.
*
* @param tags the tags value to set
* @return the AccountPatch object itself.
*/
public AccountPatch withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* 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.engagementfabric;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* EngagementFabric channel description.
*/
public class ChannelTypeDescription {
/**
* Channel type.
*/
@JsonProperty(value = "channelType")
private String channelType;

/**
* Text description for the channel.
*/
@JsonProperty(value = "channelDescription")
private String channelDescription;

/**
* All the available functions for the channel.
*/
@JsonProperty(value = "channelFunctions")
private List<String> channelFunctions;

/**
* Get channel type.
*
* @return the channelType value
*/
public String channelType() {
return this.channelType;
}

/**
* Set channel type.
*
* @param channelType the channelType value to set
* @return the ChannelTypeDescription object itself.
*/
public ChannelTypeDescription withChannelType(String channelType) {
this.channelType = channelType;
return this;
}

/**
* Get text description for the channel.
*
* @return the channelDescription value
*/
public String channelDescription() {
return this.channelDescription;
}

/**
* Set text description for the channel.
*
* @param channelDescription the channelDescription value to set
* @return the ChannelTypeDescription object itself.
*/
public ChannelTypeDescription withChannelDescription(String channelDescription) {
this.channelDescription = channelDescription;
return this;
}

/**
* Get all the available functions for the channel.
*
* @return the channelFunctions value
*/
public List<String> channelFunctions() {
return this.channelFunctions;
}

/**
* Set all the available functions for the channel.
*
* @param channelFunctions the channelFunctions value to set
* @return the ChannelTypeDescription object itself.
*/
public ChannelTypeDescription withChannelFunctions(List<String> channelFunctions) {
this.channelFunctions = channelFunctions;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.engagementfabric;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The parameter for name availability check.
*/
public class CheckNameAvailabilityParameter {
/**
* The name to be checked.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The fully qualified resource type for the name to be checked.
*/
@JsonProperty(value = "type", required = true)
private String type;

/**
* Get the name to be checked.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name to be checked.
*
* @param name the name value to set
* @return the CheckNameAvailabilityParameter object itself.
*/
public CheckNameAvailabilityParameter withName(String name) {
this.name = name;
return this;
}

/**
* Get the fully qualified resource type for the name to be checked.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set the fully qualified resource type for the name to be checked.
*
* @param type the type value to set
* @return the CheckNameAvailabilityParameter object itself.
*/
public CheckNameAvailabilityParameter withType(String type) {
this.type = type;
return this;
}

}
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.engagementfabric;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for CheckNameUnavailableReason.
*/
public final class CheckNameUnavailableReason extends ExpandableStringEnum<CheckNameUnavailableReason> {
/** Static value Invalid for CheckNameUnavailableReason. */
public static final CheckNameUnavailableReason INVALID = fromString("Invalid");

/** Static value AlreadyExists for CheckNameUnavailableReason. */
public static final CheckNameUnavailableReason ALREADY_EXISTS = fromString("AlreadyExists");

/**
* Creates or finds a CheckNameUnavailableReason from its string representation.
* @param name a name to look for
* @return the corresponding CheckNameUnavailableReason
*/
@JsonCreator
public static CheckNameUnavailableReason fromString(String name) {
return fromString(name, CheckNameUnavailableReason.class);
}

/**
* @return known CheckNameUnavailableReason values
*/
public static Collection<CheckNameUnavailableReason> values() {
return values(CheckNameUnavailableReason.class);
}
}
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.engagementfabric;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for KeyRank.
*/
public final class KeyRank extends ExpandableStringEnum<KeyRank> {
/** Static value PrimaryKey for KeyRank. */
public static final KeyRank PRIMARY_KEY = fromString("PrimaryKey");

/** Static value SecondaryKey for KeyRank. */
public static final KeyRank SECONDARY_KEY = fromString("SecondaryKey");

/**
* Creates or finds a KeyRank from its string representation.
* @param name a name to look for
* @return the corresponding KeyRank
*/
@JsonCreator
public static KeyRank fromString(String name) {
return fromString(name, KeyRank.class);
}

/**
* @return known KeyRank values
*/
public static Collection<KeyRank> values() {
return values(KeyRank.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/**
* 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.engagementfabric;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The display information of the EngagementFabric operation.
*/
public class OperationDisplay {
/**
* The resource provider namespace of the EngagementFabric operation.
*/
@JsonProperty(value = "provider", access = JsonProperty.Access.WRITE_ONLY)
private String provider;

/**
* The resource type of the EngagementFabric operation.
*/
@JsonProperty(value = "resource", access = JsonProperty.Access.WRITE_ONLY)
private String resource;

/**
* The name of the EngagementFabric operation.
*/
@JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY)
private String operation;

/**
* The description of the EngagementFabric operation.
*/
@JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
private String description;

/**
* Get the resource provider namespace of the EngagementFabric operation.
*
* @return the provider value
*/
public String provider() {
return this.provider;
}

/**
* Get the resource type of the EngagementFabric operation.
*
* @return the resource value
*/
public String resource() {
return this.resource;
}

/**
* Get the name of the EngagementFabric operation.
*
* @return the operation value
*/
public String operation() {
return this.operation;
}

/**
* Get the description of the EngagementFabric operation.
*
* @return the description value
*/
public String description() {
return this.description;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* 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.engagementfabric;

import com.microsoft.azure.ProxyResource;

/**
* The base model for the proxy-only Azure resource.
*/
public class ProxyOnlyResource extends ProxyResource {
}
Loading

0 comments on commit 9c88ba0

Please sign in to comment.